[DllImport("user32.dll")]
static extern int GetSystemMetrics(int nIndex);
None.
Please add some!
private int SM_REMOTESESSION = 0x1000;
[DllImport("user32.dll")]
static extern int GetSystemMetrics(int nIndex);
public bool IsRemoteSession()
{
return Convert.ToBoolean(GetSystemMetrics( SM_REMOTESESSION ));
}
Do you know one? Please contribute it!