SM_REMOTESESSION top-level constant Null safety

int const SM_REMOTESESSION

This system metric is used in a Terminal Services environment. If the calling process is associated with a Terminal Services client session, the return value is nonzero. If the calling process is associated with the Terminal Services console session, the return value is 0

Implementation

const SM_REMOTESESSION = 0x1000;