<?xml version='1.0'?> <wql> <query id='1' ns='root\cimv2'><![CDATA[ select CSName from Win32_OperatingSystem]]></query> <query id="2" ns="root\cimv2"><![CDATA[ select RPCAveragedLatency from Win32_PerfRawData_MSExchangeIS_MSExchangeIS]]></query> </wql>
// In the main thread System.Security.Principal.WindowsPrincipal principal = System.Threading.Thread.CurrentPrinicpal; // Start new thread System.Threading.ThreadStart threadStart = new System.Threading.ThreadStart(ThreadMethod); System.Threading.Thread t = new System.Threading.Thread(threadStart); ... protected void ThreadMethod() { // Set the Thread.CurrentPrincipal System.Threading.Thread.CurrentPrinicpal = principal; ...
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)