Interface IDesktopSession
Defines the desktop session a launch runs in, as the window's single instance asks it: a person has a window in each session, and a launch that finds it open lets it come forward.
public interface IDesktopSession
Properties
IsSandboxed
Gets a value indicating whether the launch runs in Windows' sandbox, an AppContainer, which keeps the window's pipe in the app's own namespace.
bool IsSandboxed { get; }
Property Value
Name
Gets what tells one person's sessions apart; it is empty where there is none to tell, and the person then has one window.
string Name { get; }
Property Value
Methods
HandForegroundTo(NamedPipeClientStream)
Tries to let the process at the pipe's far end bring its window forward, where the platform supports it.
void HandForegroundTo(NamedPipeClientStream window)
Parameters
windowNamedPipeClientStreamThe pipe to the running window.