Example #1
0
 /// <summary>
 /// 保護モードのIEからCookieを取得するICookieImporterを取得します。
 /// </summary>
 public ICookieImporter GetIEPMCookieImporter()
 {
     if (_iePMImporter == null)
     {
         var cookieFolder = System.IO.Path.Combine(
             Environment.GetFolderPath(Environment.SpecialFolder.Cookies), "low");
         _iePMImporter = new IEPMCookieImporter(new CookieSourceInfo(
                                                    "IE Protected", "Default", cookieFolder, ENGINE_ID_PROTECTED_IE, false), 3);
     }
     return(_iePMImporter);
 }
 /// <summary>
 /// 保護モードのIEからCookieを取得するICookieImporterを取得します。
 /// </summary>
 public ICookieImporter GetIEPMCookieImporter()
 {
     if (_iePMImporter == null)
     {
         var cookieFolder = System.IO.Path.Combine(
             Environment.GetFolderPath(Environment.SpecialFolder.Cookies), "low");
         _iePMImporter = new IEPMCookieImporter(new CookieSourceInfo(
             "IE Protected", "Default", cookieFolder, ENGINE_ID_PROTECTED_IE, false), 0);
     }
     return _iePMImporter;
 }