Skip to content

Latest commit

 

History

History
142 lines (84 loc) · 3.87 KB

DSInternals.Win32.WebAuthn.WindowHandle.md

File metadata and controls

142 lines (84 loc) · 3.87 KB

Struct WindowHandle

Namespace: DSInternals.Win32.WebAuthn
Assembly: DSInternals.Win32.WebAuthn.dll

Represents a window handle.

public struct WindowHandle

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

WindowHandle(nint)

public WindowHandle(nint handle)

Parameters

handle nint

Properties

ConsoleWindow

Retrieves the window handle used by the console associated with the calling process.

public static WindowHandle ConsoleWindow { get; }

Property Value

WindowHandle

ForegroundWindow

Gets the window handle of the foreground window associated with the calling process.

public static WindowHandle ForegroundWindow { get; }

Property Value

WindowHandle

IsValid

Indicates whether the window handle is valid.

public bool IsValid { get; }

Property Value

bool

MainWindow

Gets the window handle of the main window of the calling process.

public static WindowHandle MainWindow { get; }

Property Value

WindowHandle

Methods

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(WindowHandle, WindowHandle)

public static bool operator ==(WindowHandle a, WindowHandle b)

Parameters

a WindowHandle

b WindowHandle

Returns

bool

operator !=(WindowHandle, WindowHandle)

public static bool operator !=(WindowHandle a, WindowHandle b)

Parameters

a WindowHandle

b WindowHandle

Returns

bool