Uninstall Method
This method unregisters Shell folder information and uninstalls the native DLL from the system.
Syntax
public void Uninstall();
Public Sub Uninstall()
Remarks
This method is used to uninstall the native DLL that integrates with Shell from the system.
Before calling this method, you must set the ProductGUID property. You also may change the default value of the PerUserInstallation property.
The PerUserInstallation property specifies whether the information is written to the registry for the current user or for all users.
In the latter case, administrative rights are required to execute this method successfully. If the user account of the process that calls this method does not have such rights, the call will fail with an ERROR_PRIVILEGE_NOT_HELD (0x0522) error.