GitUI.CommandsDialogs.FormBrowse.GetMonoVersion C# (CSharp) Method

GetMonoVersion() private method

private GetMonoVersion ( ) : string
return string
        private string GetMonoVersion()
        {
            Type type = Type.GetType("Mono.Runtime");
            if (type != null)
            {
                MethodInfo displayName = type.GetMethod("GetDisplayName", BindingFlags.NonPublic | BindingFlags.Static);
                if (displayName != null)
                    return (string)displayName.Invoke(null, null);
            }
            return null;
        }
FormBrowse