Utmb抽奖方法

公共Cookie [] getCookieByStr(字符串Str)

{

string[]cookiestrs = str . split(";");

Cookie[]cookies =新Cookie[cookies . length];

for(int I = 0;我& ltcookies.lengthi++)

{

string[]one cookie = cookiestrs[I]。拆分(" = ");

Cookie[I]= new Cookie(one Cookie(0),one Cookie(1));

}

返回cookies

}