简体   繁体   中英

Fetch Url data in Silverlight

I have an url in silverlight

https://............?data=1234

how to fetch this url data in silverlight.

i have seen that the request.querystring of asp.net doesnt work here.

Create an instance of the Uri class.

var uri = new Uri("http://www.example.com?data=123456");

Then you can use the Query property, for example:

var query = uri.Query;
// query contains "?data=123456"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM