예제 #1
0
 public static O2BrowserIE cookie(this O2BrowserIE o2BrowserIE, string value)
 {
     return((O2BrowserIE)o2BrowserIE.invokeOnThread(
                () =>
     {
         var document = o2BrowserIE.document();
         if (document != null)
         {
             document.Cookie = value;
         }
         return o2BrowserIE;
     }));
 }
예제 #2
0
 public static string cookie(this O2BrowserIE o2BrowserIE)
 {
     return((string)o2BrowserIE.invokeOnThread(() => o2BrowserIE.document().Cookie));
 }