Baconography.PlatformServices.ImageAPI.Minus.IsAPI C# (CSharp) Method

IsAPI() static private method

static private IsAPI ( Uri uri ) : bool
uri System.Uri
return bool
        internal static bool IsAPI(Uri uri)
        {
            var href = uri.OriginalString.Split('?')[0];
            var groups = hashRe.Match(href).Groups;

            if (groups.Count > 2 && string.IsNullOrWhiteSpace(groups[2].Value))
            {
                var hash = groups[1].Value;
                return hash.StartsWith("m");
            }
            else
                return false;
        }