C# Class Abstractions.Windows.Networking

Show file Open project: MutonUfoAI/pgina

Public Methods

Method Description
GetNetworkTime ( string FQDN ) : System.DateTime

get UTC ntp time based on http://stackoverflow.com/questions/1193955/how-to-query-an-ntp-server-using-c

email ( string mailAddress, string smtpAddress, string username, string password, string subject, string body, bool ssl ) : System.Boolean

does send a mail including the last 60 system-Event and application-Event lines plus the last 175 pgina logfile lines

sendMail ( string>.Dictionary settings, string username, string password, string subject, string body ) : System.Boolean

Private Methods

Method Description
SwapEndianness ( System.UInt64 x ) : UInt32

Method Details

GetNetworkTime() public static method

get UTC ntp time based on http://stackoverflow.com/questions/1193955/how-to-query-an-ntp-server-using-c
public static GetNetworkTime ( string FQDN ) : System.DateTime
FQDN string server address
return System.DateTime

email() public static method

does send a mail including the last 60 system-Event and application-Event lines plus the last 175 pgina logfile lines
public static email ( string mailAddress, string smtpAddress, string username, string password, string subject, string body, bool ssl ) : System.Boolean
mailAddress string
smtpAddress string
username string
password string
subject string
body string
ssl bool
return System.Boolean

sendMail() public static method

public static sendMail ( string>.Dictionary settings, string username, string password, string subject, string body ) : System.Boolean
settings string>.Dictionary
username string
password string
subject string
body string
return System.Boolean