Parameters
- cookie
Type: System.Byte[]
The super cookies data.
Type: System.Byte[]
The super cookies data.
// format super cookie string string cookie = @"mc.yandex.ru:HSTS 0 17324 1528380625408,1,0 yastatic.net:HSTS 0 17324 1540044588554,1,1"; // convert super cookie string to byte array byte[] cookieBytes = System.Text.Encoding.UTF8.GetBytes(cookie); // load cookie instance.LoadSuperCookie(cookieBytes);
// format super cookie string $cookie = @"mc.yandex.ru:HSTS 0 17324 1528380625408,1,0 yastatic.net:HSTS 0 17324 1540044588554,1,1"; // convert super cookie string to byte array $cookieBytes = System\Text\Encoding\UTF8::GetBytes($cookie); // load cookie $instance->LoadSuperCookie($cookieBytes);
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.