ComPortHandle.ConvertFromNative Method
Creates a handle to a specified COM port.
Namespace: Microsoft.SPOT.Emulator.Com
Assembly: Microsoft.SPOT.Emulator (in microsoft.spot.emulator.dll)
Syntax
public static Microsoft.SPOT.Emulator.Com.ComPortHandle ConvertFromNative (
int nativeHandle
)
Parameters
- nativeHandle
A native handle to a COM port. The lower 8 bits of this handle represent the COM port number, and the upper 8 bits represent the transport type.
Return Value
A handle to the specified COM port.
Version Information
Available in .NET Micro Framework version 2.0
See Also
Reference
ComPortHandle Structure
ComPortHandle Members
Microsoft.SPOT.Emulator.Com Namespace