예제 #1
0
        public static string CanonizeURL(string pURL, URL_CANONFLAGS flags)
        {
            if (pURL != null)
            {
                StringBuilder pRet = new StringBuilder(pURL.Length * 3);
                int[]         lgth = new int[1];
                lgth[0] = pURL.Length * 3;
                int hr = UrlCanonicalize(pURL, pRet, lgth, (int)flags);
                Log(true, "UrlCanonicalize returned " + (hr.ToString("X")), "");
                if (lgth[0] != 0)
                {
                    return(pRet.ToString());
                }
            }

            return(pURL);
        }
	public static string CanonizeURL(string pURL, URL_CANONFLAGS flags) {}
 public static string CanonizeURL(string pURL, URL_CANONFLAGS flags)
 {
 }