GetWindowsApplication
Returns the specified Windows application right.
Syntax
IWindowsApplication GetWindowsApplication (string name)
Parameter
Specify the following parameter when using this method:
| Parameter | Description |
|---|---|
name
|
The name of the Windows application. |
Return value
The Windows application right with the specified name, or null if name is not in
use.
Exceptions
GetWindowsApplication may throw one of the following exceptions:
-
ApplicationExceptionif it can’t find authorization data for the zone or if it failed to get the right (see the message returned by the exception for the reason). -
ArgumentExceptionif the parameter is null or empty.