Click or drag to resize

ProcessElevationRestartCurrentProcessElevated Method

This function can be called to easily restart your application with administrator privileges.

Namespace:  TreeksLicensingLibrary2
Assembly:  TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (
public static string RestartCurrentProcessElevated(
	string Arguments = ""


Arguments (Optional)
Type: SystemString
Any optional arguments to be passed to your main executable

Return Value

Type: String
OK on success, otherwise error message
See Also