C# 클래스 PoshExecSvr.NativeMethods

파일 보기 프로젝트 열기: adamdriscoll/PoshInternals

공개 메소드들

메소드 설명
EnableSecurityRights ( string desiredAccess, bool on ) : void

비공개 메소드들

메소드 설명
AdjustTokenPrivileges ( [ TokenHandle, [ DisableAllPrivileges, [ NewState, [ BufferLength, [ PreviousState, [ ReturnLength ) : bool
CloseHandle ( IntPtr handle ) : bool
DuplicateTokenEx ( [ ExistingToken, [ DesiredAccess, [ TokenAttributes, [ ImpersonationLevel, [ TokenType, [ NewToken ) : bool
GetCurrentProcess ( ) : IntPtr
GetCurrentThread ( ) : IntPtr
LookupPrivilegeValue ( [ lpSystemName, [ lpName, [ Luid ) : bool
OpenProcessToken ( [ ProcessToken, [ DesiredAccess, [ TokenHandle ) : bool
OpenThreadToken ( [ ThreadToken, [ DesiredAccess, [ OpenAsSelf, [ TokenHandle ) : bool
RevertToSelf ( ) : bool
SetThreadToken ( [ Thread, [ Token ) : bool

메소드 상세

EnableSecurityRights() 공개 정적인 메소드

public static EnableSecurityRights ( string desiredAccess, bool on ) : void
desiredAccess string
on bool
리턴 void