Mercury API
SerialTransportNative Class
NamespacesThingMagicSerialTransportNative
Serial transport native framework calls
Declaration Syntax
C#Visual BasicVisual C++
public class SerialTransportNative : SerialTransport
Public Class SerialTransportNative _
	Inherits SerialTransport
public ref class SerialTransportNative : public SerialTransport
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
SerialTransportNative()()()
Constructor Initialize native serial port

BaudRate
Set/Get serial baudrate
(Overrides SerialTransport.BaudRate.)
CreateSerialReader(String)
Serial Reader factory function

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Flush()()()
Discards data from the serial driver's receive buffer.
(Overrides SerialTransport.Flush()()().)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsOpen
Gets a value indicating the open or closed status of the SerialPort object.
(Overrides SerialTransport.IsOpen.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Open()()()
Opens a new serial port connection.
(Overrides SerialTransport.Open()()().)
PortName
Set/Get the port for communications, including but not limited to all available COM ports.
(Overrides SerialTransport.PortName.)
ReadTimeout
Gets or sets the number of milliseconds before a time-out occurs when a read operation does not finish.
(Overrides SerialTransport.ReadTimeout.)
ReceiveBytes(Int32, array<Byte>[]()[], Int32)
Reads a number of bytes from the SerialPort input buffer and writes those bytes into a byte array at the specified offset.
(Overrides SerialTransport.ReceiveBytes(Int32, array<Byte>[]()[], Int32).)
SendBytes(Int32, array<Byte>[]()[], Int32)
Writes a specified number of bytes to the serial port using data from a buffer.
(Overrides SerialTransport.SendBytes(Int32, array<Byte>[]()[], Int32).)
Shutdown()()()
Closes the port connection,
(Overrides SerialTransport.Shutdown()()().)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WriteTimeout
Gets or sets the number of milliseconds before a time-out occurs when a write operation does not finish.
(Overrides SerialTransport.WriteTimeout.)
Inheritance Hierarchy
Object
SerialTransport
 SerialTransportNative

Assembly: MercuryAPI (Module: MercuryAPI) Version: 1.29.4.34 (1.29.4.34)