UWP
LZStudio
这个作者很懒,什么都没留下…
展开
-
UWP保存网页到本地
布局文件 x:Class="webrequestWeb.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:原创 2016-05-25 09:46:42 · 1362 阅读 · 0 评论 -
UWP将图片保存到相册的文件下
async void IsSave(string uri) { try { List allbytes = new List(); using (var response = await HttpWebRequest.Create(uri).GetResponseAsync()) { using (Stream responseStream = response.GetResponseStream原创 2016-05-07 01:31:34 · 1227 阅读 · 0 评论 -
UWP 带有header的webrequest请求
HttpRequestMessage httpRequestMessage = new HttpRequestMessage( HttpMethod.Post, new Uri("http://www.contoso.com")); httpRequestMessage.Content = new HttpStringContent("hello, world"); httpRequest转载 2016-05-24 23:07:44 · 1210 阅读 · 0 评论