public void Unregister(
string DriverID
)Public Sub Unregister (
DriverID As String
)public:
virtual void Unregister(
String^ DriverID
) sealedThis deletes the entire device profile tree, including the DriverID root key.
Unregister must only be called if the driver has already been registered. If you are not sure use the IsRegistered function to check the status and only unregister if the driver is registered.
| InvalidValueException | Thrown if DriverID is an empty string. |
| DriverNotRegisteredException | Thrown if the driver is not registered, |