Show / Hide Table of Contents

Method uacInfo.ofProcess


Overload

Opens process access token and creates/returns new uacInfo variable that holds it. Then you can use its properties.

public static uacInfo ofProcess(int processId)
Parameters
processId  (int)

Process id. If you have a window, use wnd.ProcessId.

Returns
uacInfo

null if failed. For example fails for services and some other processes if current process is not administrator.

Remarks

To get uacInfo of this process, use uacInfo.ofThisProcess.