[DllImport("kernel32.dll", CharSet = CharSet.Auto,SetLastError = true)] static extern EXECUTION_STATE SetThreadExecutionState(EXECUTION_STATE esFlags); [FlagsAttribute] public enum EXECUTION_STATE :uint { ES_AWAYMODE_REQUIRED = 0x00000040, ES_CONTINUOUS = 0x80000000, ES_DISPLAY_REQUIRED = 0x00000002, ES_SYSTEM_REQUIRED = 0x00000001 }
Below is my method , can anybody help me how to use the above method.
as i am unable to understand that.
{
Console.WriteLine("Establishing a Connection to Microsoft Crm.....");
ProcessResume_Linq();
Console.WriteLine("Operation Completed successfully!!");
Writelogfilefooter();
Console.ReadLine();
}
No comments:
Post a Comment