private string WebRequestAsStringWithoutToken()
        {
            var webRequestAsString = _webRequest.ToString();

            string[] parsedWebRequestString = webRequestAsString.Split("\n");
            var      stringBuilder          = new StringBuilder();

            foreach (var webRequestStringPart in parsedWebRequestString)
            {
                if (!webRequestStringPart.StartsWith("Token:"))
                {
                    stringBuilder.Append(webRequestStringPart);
                }
            }

            return(stringBuilder.ToString());
        }
Example #2
0
 public override string ToString()
 {
     return(_webRequest.ToString());
 }