ZennoLab Assemblies Documentation
SetSuperCookie Method
Example 
ZennoLab.CommandCenter Namespace > Instance Class : SetSuperCookie Method

Type: System.String

The super cookies data in format "Key\tScore\tLastAccessed\tValue".

Sets super cookie.
Syntax
public void SetSuperCookie( 
   string cookie
)

Parameters

cookie

Type: System.String

The super cookies data in format "Key\tScore\tLastAccessed\tValue".

Example
The following example uses the SetSuperCookie method.
// format super cookie string
string cookie = @"mc.yandex.ru:HSTS	0	17324	1528380625408,1,0
yastatic.net:HSTS	0	17324	1540044588554,1,1";
// load cookie
instance.SetSuperCookie(cookie);
// format super cookie string
$cookie = @"mc.yandex.ru:HSTS	0	17324	1528380625408,1,0
yastatic.net:HSTS	0	17324	1540044588554,1,1";
// load cookie
$instance->SetSuperCookie($cookie);
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Instance Class
Instance Members
ClearCookie Method
LoadSuperCookie Method
SaveSuperCookie Method
GetSuperCookie Method