ChainStoreWeb.TokenHelper.GetContextTokenFromRequest C# (CSharp) Method

GetContextTokenFromRequest() public static method

Retrieves the context token string from the specified request by looking for well-known parameter names in the POSTed form parameters and the querystring. Returns null if no context token is found.
public static GetContextTokenFromRequest ( HttpRequest request ) : string
request HttpRequest HttpRequest in which to look for a context token
return string
        public static string GetContextTokenFromRequest(HttpRequest request)
        {
            return GetContextTokenFromRequest(new HttpRequestWrapper(request));
        }

Same methods

TokenHelper::GetContextTokenFromRequest ( System.Web.HttpRequestBase request ) : string