Exemplo n.º 1
0
            private static void smethod_0(object object_0)
            {
                string uriString = "http://www.kaixin001.com/";
                Uri    uri       = new Uri(uriString);

                CookieManger.PrintCookies(CookieManger.GetUriCookieContainer(uri), uri);
                Console.ReadKey();
            }
Exemplo n.º 2
0
            static void Main(string[] args)
            {
                string          url     = @"http://www.kaixin001.com/";
                Uri             uri     = new Uri(url);
                CookieContainer cookies = CookieManger.GetUriCookieContainer(uri);

                CookieManger.PrintCookies(cookies, uri);

                Console.ReadKey();
            }