Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/289.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 在WinForm应用程序C中使用Request.QueryString#_C#_Httpwebrequest - Fatal编程技术网

C# 在WinForm应用程序C中使用Request.QueryString#

C# 在WinForm应用程序C中使用Request.QueryString#,c#,httpwebrequest,C#,Httpwebrequest,如何在winform中使用Request.QueryString 我的代码是c# 我知道HttpContext.Current.Request.QueryString是一个解决方案 但我不明白 我的样品是 OAuthTokenResponse accessTokenResponse = OAuthUtility.GetAccessToken(consumerKey, consumerSecret, Request.QueryString["oauth_token"],Request.QueryS

如何在winform中使用
Request.QueryString
我的代码是c# 我知道
HttpContext.Current.Request.QueryString
是一个解决方案 但我不明白 我的样品是

OAuthTokenResponse accessTokenResponse = OAuthUtility.GetAccessToken(consumerKey, consumerSecret, Request.QueryString["oauth_token"],Request.QueryString["oauth_verifier"]);

你想干什么?使用查询字符串参数构建URL?最好的方法是检查。