ProcessContextIsWindowsService Property |
[AlphaFS] Determines if the current process is run in the context of a Windows Service.
Namespace:
Alphaleonis.Win32.Security
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static bool IsWindowsService { get; }
Public Shared ReadOnly Property IsWindowsService As Boolean
Get
public:
static property bool IsWindowsService {
bool get ();
}
static member IsWindowsService : bool with get
Return Value
Type:
Boolean if the current process is run in the context of a Windows Service; otherwise,
.
See Also