Connect Method
Connects to an SNPP server.
Syntax
[VB.NET] Public Sub Connect()
[C#] public void Connect();
Remarks
This method connects to the SNPP server. Any number of messages can later be sent using the Send method.
Example (Send Page)
SNPPControl.ServerName = "MyServer" SNPPControl.CallerId = "SenderPagerNumber" SNPPControl.PagerId = "RecipientPagerNumber" SNPPControl.Message = "Hello, this is my message!" SNPPControl.Connect() SNPPControl.Send() SNPPControl.Disconnect()NOTE: This method has a corresponding asynchronous version (ConnectAsync) for use in the Xamarin environment.