Microsoft.ManagementConsole.SnapInBase.RegisterCurrentThreadForUI C# (CSharp) Method