public void Dispose() { if (m_nativeInstance != IntPtr.Zero) { DeviceAddressNative.Destroy(m_nativeInstance); m_nativeInstance = IntPtr.Zero; } }
public static bool operator !=(DeviceAddress lhs, DeviceAddress rhs) { return(!DeviceAddressNative.IsEquals(lhs.m_nativeInstance, rhs.m_nativeInstance)); }
public DeviceAddress() { m_nativeInstance = DeviceAddressNative.Create(); }
public byte Pop() { return(DeviceAddressNative.Pop(m_nativeInstance)); }
public void Push(byte deviceId) { DeviceAddressNative.Push(m_nativeInstance, deviceId); }
public DeviceAddress(DeviceAddress copy) { m_nativeInstance = DeviceAddressNative.Duplicate(copy.NativeInstance); }