Open a Phidget remotely and securely, using an IP Address, without a serial number.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public void open( string IPAddress, int port, string password ) |
Visual Basic (Declaration) |
---|
Public Sub open ( _ IPAddress As String, _ port As Integer, _ password As String _ ) |
Visual C++ |
---|
public: void open( String^ IPAddress, int port, String^ password ) |
Parameters
- IPAddress
- Type: System..::.String
IP Address or hostname of the Phidget Webservice
- port
- Type: System..::.Int32
Port of the Phidget Webservice
- password
- Type: System..::.String
The secure password for the Phidget Webservice
Remarks
This version of open is network based.
This method is the same as open(int serialNumber, string IPAddress, int port, String password), except that it specifies no serial number. Therefore, the first available Phidget will be opened. If there are two Phidgets of the same type attached to the system, you should specify a serial number, as there is no guarantee which Phidget will be selected by the call to open().