C# 클래스 ManagedWin32.Desktop

상속: IDisposable
파일 보기 프로젝트 열기: MathewSachin/ManagedWin32

공개 메소드들

메소드 설명
Close ( ) : bool

Closes the handle to a desktop.

CreateProcess ( string path ) : Process

Creates a new process in a desktop.

Desktop ( string name ) : ManagedWin32.Api
Dispose ( ) : void

Dispose Object.

Dispose ( bool disposing ) : void

Dispose Object.

Exists ( string name, bool caseInsensitive = false ) : bool

Checks if the specified desktop exists.

GetDesktops ( ) : IEnumerable

Enumerates all of the desktops.

GetProcesses ( ) : IEnumerable

Gets an array of all the processes running on this desktop.

GetWindows ( ) : IEnumerable

Enumerates the windows on a desktop.

Prepare ( ) : void

Prepares a desktop for use. For use only on newly created desktops, call straight after CreateDesktop.

Show ( ) : bool

Switches input to the currently opened desktop.

ToString ( ) : string

Gets the desktop name.

비공개 메소드들

메소드 설명
CheckDisposed ( ) : void
Desktop ( IntPtr desktop ) : ManagedWin32.Api
Open ( string name ) : Desktop

메소드 상세

Close() 공개 메소드

Closes the handle to a desktop.
public Close ( ) : bool
리턴 bool

CreateProcess() 공개 메소드

Creates a new process in a desktop.
public CreateProcess ( string path ) : Process
path string Path to application.
리턴 System.Diagnostics.Process

Desktop() 공개 메소드

public Desktop ( string name ) : ManagedWin32.Api
name string
리턴 ManagedWin32.Api

Dispose() 공개 메소드

Dispose Object.
public Dispose ( ) : void
리턴 void

Dispose() 공개 메소드

Dispose Object.
public Dispose ( bool disposing ) : void
disposing bool True to dispose managed resources.
리턴 void

Exists() 공개 정적인 메소드

Checks if the specified desktop exists.
public static Exists ( string name, bool caseInsensitive = false ) : bool
name string The name of the desktop.
caseInsensitive bool If the search is case INsensitive.
리턴 bool

GetDesktops() 공개 정적인 메소드

Enumerates all of the desktops.
public static GetDesktops ( ) : IEnumerable
리턴 IEnumerable

GetProcesses() 공개 메소드

Gets an array of all the processes running on this desktop.
public GetProcesses ( ) : IEnumerable
리턴 IEnumerable

GetWindows() 공개 메소드

Enumerates the windows on a desktop.
public GetWindows ( ) : IEnumerable
리턴 IEnumerable

Prepare() 공개 메소드

Prepares a desktop for use. For use only on newly created desktops, call straight after CreateDesktop.
public Prepare ( ) : void
리턴 void

Show() 공개 메소드

Switches input to the currently opened desktop.
public Show ( ) : bool
리턴 bool

ToString() 공개 메소드

Gets the desktop name.
public ToString ( ) : string
리턴 string