ProScript .NET Documentation
ProScript .NET Documentation
ProScript
IDeviceNotificationListener Interface
IDeviceNotificationListener Methods
ReceiveDeviceAttachedNotification Method
ReceiveDeviceDetachedNotification Method

# IDeviceNotificationListener ReceiveDeviceDetachedNotification Method

This is called when a device is removed from the system. The path will always set, the device can be null if there is a problem finding the device in the cache. Don't attempt open the device object, at the point this is called the device has already been removed.

Namespace: ProScript
Assembly: proscript-csharp (in proscript-csharp.dll) Version: 1.6.39.0 (1.6.39.0)
Syntax
C#
VB
C++
F#
Copy

    void ReceiveDeviceDetachedNotification(
    	string path,
    	Device device
    )

    Sub ReceiveDeviceDetachedNotification (
    	path As String,
    	device As Device
    )

    void ReceiveDeviceDetachedNotification(
    	String^ path,
    	Device^ device
    )

    abstract ReceiveDeviceDetachedNotification :
            path : string *
            device : Device -> unit

#### Parameters

path
  Type: System
  String
  usb path of the device
device
  Type: ProScript
  Device
  device that detached

See Also

#### Reference

IDeviceNotificationListener Interface
ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.