Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Added ProcessContext static class to determine the context of the current process. #415

Merged
merged 7 commits into from
Feb 22, 2018

Conversation

Yomodo
Copy link
Collaborator

@Yomodo Yomodo commented Feb 16, 2018

Added ProcessContext static class that determine the context of the current process,
using Win32 OpenProcessToken and GetTokenInformation functions.

Populates bool properties:

IsAdmin         : [True]
IsElevated      : [True]
IsUacEnabled    : [True]
IsWindowsService: [False]

…urrent process.

Populates bool properties: IsAdministrator, IsElevatedProcess, IsUacEnabled and IsWindowsService.
@Yomodo Yomodo added this to the Release 2.2 milestone Feb 16, 2018
@Yomodo Yomodo requested a review from alphaleonis February 16, 2018 18:19
@Yomodo Yomodo self-assigned this Feb 16, 2018
@Yomodo Yomodo merged commit 24c1b06 into develop Feb 22, 2018
@Yomodo Yomodo deleted the ProcessContext2 branch February 22, 2018 18:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant