Click or drag to resize

UrlProtocolRegisterElevated Method

Registers the application to a URI scheme using runas to elevate the process if required. Not that this can still throw a UnauthorizedAccessException if the elevated process is also not authorized.

Namespace:  Cauldron.Net
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static void RegisterElevated(
	string urlProtocol
)

Parameters

urlProtocol
Type: SystemString
The application uri e.g. exampleApplication://
Exceptions
ExceptionCondition
UnauthorizedAccessExceptionProcess elevation required
See Also