public CcmErrorCode LogoffSession(int sessionId) { var result = Environment.Is64BitProcess ? CcmSdk64.CCMLogoffSession(sessionId) : CcmSdk32.CCMLogoffSession(sessionId); return((CcmErrorCode)result); }