Namespace: DSInternals.Win32.WebAuthn
Assembly: DSInternals.Win32.WebAuthn.dll
Represents a window handle.
public struct WindowHandle
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
public WindowHandle(nint handle)
handle
nint
Retrieves the window handle used by the console associated with the calling process.
public static WindowHandle ConsoleWindow { get; }
Gets the window handle of the foreground window associated with the calling process.
public static WindowHandle ForegroundWindow { get; }
Indicates whether the window handle is valid.
public bool IsValid { get; }
Gets the window handle of the main window of the calling process.
public static WindowHandle MainWindow { get; }
public override bool Equals(object obj)
obj
object
public override int GetHashCode()
public static bool operator ==(WindowHandle a, WindowHandle b)
public static bool operator !=(WindowHandle a, WindowHandle b)