System.Net.CookieTokenizer.GetCookieString C# (CSharp) Method

GetCookieString() private method

private GetCookieString ( ) : string
return string
        internal string GetCookieString()
        {
            return _tokenStream.SubstringTrim(_cookieStartIndex, _cookieLength);
        }

Usage Example

Beispiel #1
0
        // GetString
        //
        // Gets the next cookie string
        internal string GetString()
        {
            bool first = true;

            if (_tokenizer.Eof)
            {
                return(null);
            }

            do
            {
                _tokenizer.Next(first, true);
                first = false;
            } while (!_tokenizer.Eof && !_tokenizer.EndOfCookie);

            return(_tokenizer.GetCookieString());
        }