如何在Windows Phone中获取ConnectionSettingsType的Uri源代码?

时间:2013-03-22 07:14:26

标签: c# visual-studio windows-phone-7 windows-phone-8 windows-phone-7.1

我正在开发一款Windows手机应用。我需要将Uri源文件传递给ConnectionSettingsType.Wifi。但是,似乎没有办法做到这一点。请尽可能建议我

1 个答案:

答案 0 :(得分:0)

阅读本文:How to use the connection settings task for Windows Phone (MSDN)

ConnectionSettingsTask connectionSettingsTask = new ConnectionSettingsTask();
connectionSettingsTask.ConnectionSettingsType = ConnectionSettingsType.WiFi;
connectionSettingsTask.Show();

第三方应用程序没有可用的URI。您必须使用该任务启动设置页面。