internal BluetoothSerialPort(string portPrefix, int portIndex) { pep = new PORTEMUPortParams(); pep.uiportflags = RFCOMM_PORT_FLAGS.REMOTE_DCB; this.portPrefix = portPrefix; this.portIndex = portIndex; }
internal BluetoothSerialPort(string portPrefix, int portIndex) { pep = new PORTEMUPortParams(); this.portPrefix = portPrefix; this.portIndex = portIndex; }
/// <summary> /// /// </summary> /// <param name="disposing"></param> protected virtual void Dispose(bool disposing) { Close(); if(disposing) { portPrefix = null; pep = null; } }
private static extern IntPtr RegisterDevice( string lpszType, int dwIndex, string lpszLib, ref PORTEMUPortParams dwInfo);