ValidateIP_EventArgs.cs
上传用户:horngjaan
上传日期:2009-12-12
资源大小:2882k
文件大小:1k
- using System;
- namespace LumiSoft.MailServer
- {
- /// <summary>
- /// Provides data for the ValidateIPAddress event for POP3_Server and SMTP_Server.
- /// </summary>
- public class ValidateIP_EventArgs
- {
- private string m_ConnectedIP = "";
- private bool m_Validated = true;
- /// <summary>
- /// Default constructor.
- /// </summary>
- /// <param name="connectedIP">Connected host IP address.</param>
- public ValidateIP_EventArgs(string connectedIP)
- {
- m_ConnectedIP = connectedIP;
- }
- #region Properties Implementation
- /// <summary>
- /// IP address of computer, which is sending mail to here.
- /// </summary>
- public string ConnectedIP
- {
- get{ return m_ConnectedIP; }
- }
- /// <summary>
- /// Gets or sets if IP is allowed access.
- /// </summary>
- public bool Validated
- {
- get{ return m_Validated; }
- set{ m_Validated = value; }
- }
- #endregion
- }
- }