At.FF.Krems.Interfaces.NativeMethods.GetDevicePowerState C# (CSharp) Method