ESDeviceCreate Method (String, Int32, Int32) |
Connects to the IP Address given and determines what kind of
Brainboxes Ethernet to Serial Device is there, creates the object and returns it
Namespace:
Brainboxes.IO
Assembly:
Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.5.0.8
Syntax public static ESDevice Create(
string ipAddress,
int port1PortNumber = 9001,
int timeout = 2000
)
Public Shared Function Create (
ipAddress As String,
Optional port1PortNumber As Integer = 9001,
Optional timeout As Integer = 2000
) As ESDevice
static member Create :
ipAddress : string *
?port1PortNumber : int *
?timeout : int
(* Defaults:
let _port1PortNumber = defaultArg port1PortNumber 9001
let _timeout = defaultArg timeout 2000
*)
-> ESDevice
Parameters
- ipAddress
- Type: SystemString
[Missing <param name="ipAddress"/> documentation for "M:Brainboxes.IO.ESDevice.Create(System.String,System.Int32,System.Int32)"]
- port1PortNumber (Optional)
- Type: SystemInt32
[Missing <param name="port1PortNumber"/> documentation for "M:Brainboxes.IO.ESDevice.Create(System.String,System.Int32,System.Int32)"]
- timeout (Optional)
- Type: SystemInt32
[Missing <param name="timeout"/> documentation for "M:Brainboxes.IO.ESDevice.Create(System.String,System.Int32,System.Int32)"]
Return Value
Type:
ESDevice[Missing <returns> documentation for "M:Brainboxes.IO.ESDevice.Create(System.String,System.Int32,System.Int32)"]
See Also