示例#1
0
        public static string GetActiveWindowTitle()
        {
            string title = NativeMethodsHelper.GetForegroundWindowTitle();

            return((!string.IsNullOrEmpty(title)) ? title : null);
        }