OleViewDotNet.COMEnumerateInterfaces.GetInterfaces C# (CSharp) Method

GetInterfaces() private method

private GetInterfaces ( bool sta, int timeout ) : void
sta bool
timeout int
return void
        private void GetInterfaces(bool sta, int timeout)
        {
            Thread timeout_thread = new Thread(ExitProcessThread);
            timeout_thread.Start(timeout);
            if (sta)
            {
                RunGetInterfaces();
            }
            else
            {
                Thread th = null;
                th = new Thread(MTAEnumThread);
                th.Start();
                th.Join();
            }
        }