主要解决要访问数据源链接,然后弹出登录窗体,自己有用户密码。C#解决方案

时间:2022-12-28 00:58:52
            WebClient webClient = new WebClient();
            webClient.Credentials = new NetworkCredential("zyw112233", "yfq225");
            string receivePath = @"C:\";
            string urlAddress = " 主要解决要访问数据源链接,然后弹出登录窗体,自己有用户密码。C#解决方案http://www.sat.dundee.ac.uk/xrit/140.7E/MTSAT/2017/6/9/1100/2017_6_9_1100_MTSAT3_9_S4_grid.jpeg";
            webClient.DownloadFile(urlAddress, receivePath +  主要解决要访问数据源链接,然后弹出登录窗体,自己有用户密码。C#解决方案System.IO.Path.GetFileName(urlAddress));