C# Class iSpyApplication.WsWrapper

Mostra file Open project: ispysoftware/iSpy Class Usage Examples

Public Properties

Property Type Description
LoginFailed bool

Private Properties

Property Type Description
ForceSync void
WsaDisconnectCompleted void
WsaDisposed void
WsaPingAliveCompleted void
WsaSendAlertCompleted void
WsaSendAlertWithImageCompleted void
WsaSendContentCompleted void
WsaSendSMSCompleted void
WsaSendTweetCompleted void
WsaSyncCompleted void

Public Methods

Method Description
Connect ( ) : string
Connect ( bool tryLoopback ) : string
Disconnect ( ) : void
DoPingRequest ( ) : void
ExternalIPv4 ( bool refresh, bool &success ) : string
ForceSync ( ) : void
PingServer ( ) : void
ProductLatestVersion ( int productId ) : string
SendAlert ( string emailAddress, string subject, string message ) : void
SendAlertWithImage ( string emailAddress, string subject, string message, byte imageData ) : void
SendContent ( string emailAddress, string subject, string message ) : void
SendSms ( string smsNumber, string message ) : void
SendTweet ( string message ) : void
TestConnection ( string username, string password, bool tryLoopback ) : string[]

Private Methods

Method Description
ForceSync ( string internalIPAddress, int internalPort ) : void
WsaDisconnectCompleted ( object sender, DisconnectCompletedEventArgs e ) : void
WsaDisposed ( object sender, EventArgs e ) : void
WsaPingAliveCompleted ( object sender, PingAliveCompletedEventArgs e ) : void
WsaSendAlertCompleted ( object sender, SendAlertCompletedEventArgs e ) : void
WsaSendAlertWithImageCompleted ( object sender, SendAlertWithImageCompletedEventArgs e ) : void
WsaSendContentCompleted ( object sender, SendContentCompletedEventArgs e ) : void
WsaSendSMSCompleted ( object sender, SendSMSCompletedEventArgs e ) : void
WsaSendTweetCompleted ( object sender, SendTweetCompletedEventArgs e ) : void
WsaSyncCompleted ( object sender, SyncCompletedEventArgs e ) : void

Method Details

Connect() public static method

public static Connect ( ) : string
return string

Connect() public static method

public static Connect ( bool tryLoopback ) : string
tryLoopback bool
return string

Disconnect() public static method

public static Disconnect ( ) : void
return void

DoPingRequest() public static method

public static DoPingRequest ( ) : void
return void

ExternalIPv4() public static method

public static ExternalIPv4 ( bool refresh, bool &success ) : string
refresh bool
success bool
return string

ForceSync() public static method

public static ForceSync ( ) : void
return void

PingServer() public static method

public static PingServer ( ) : void
return void

ProductLatestVersion() public static method

public static ProductLatestVersion ( int productId ) : string
productId int
return string

SendAlert() public static method

public static SendAlert ( string emailAddress, string subject, string message ) : void
emailAddress string
subject string
message string
return void

SendAlertWithImage() public static method

public static SendAlertWithImage ( string emailAddress, string subject, string message, byte imageData ) : void
emailAddress string
subject string
message string
imageData byte
return void

SendContent() public static method

public static SendContent ( string emailAddress, string subject, string message ) : void
emailAddress string
subject string
message string
return void

SendSms() public static method

public static SendSms ( string smsNumber, string message ) : void
smsNumber string
message string
return void

SendTweet() public static method

public static SendTweet ( string message ) : void
message string
return void

TestConnection() public static method

public static TestConnection ( string username, string password, bool tryLoopback ) : string[]
username string
password string
tryLoopback bool
return string[]

Property Details

LoginFailed public_oe static_oe property

public static bool LoginFailed
return bool