文件名称:ConnectionTool.cs
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [Basic/ASP] [源码]
- 上传时间:
- 2013-11-13
- 文件大小:
- 6kb
- 下载次数:
- 0次
- 提 供 者:
- c***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这个类用c#写的,功能是在windows mobile的手机里面建立和拨号VPN连接,支持windows mobile,GSM,cdma,3G
程序员用这个类时,由于这个类里面的属性和方法都是静态的,所以不要实例化。
这个类里面的可见性的函数只有5个,分别是
rasCreateRasEntry
rasDeleteRasEntry
rasCloseAllCnn
rasCloseCnn
cnnConnectMobileNetwork
在拨号连接的solution里使用这个类的一般流程是
1.用rasCreateRasEntry建立一个phone book entry
2.如果你想使用的连接这在使用中,你是不能再次拨号的,因此我们用rasCloseAllCnn先关闭所有连接
3.用cnnConnectMobileNetwork函数拨号你要用的连接-This class is used to write c#, function is created inside the windows mobile phone and dial a VPN connection, support windows mobile, GSM, cdma, 3G programmer using this class, because this class inside the properties and methods are static, So do not be instantiated. This class is a function of the visibility inside only five, namely rasCreateRasEntry rasDeleteRasEntry rasCloseAllCnn rasCloseCnn cnnConnectMobileNetwork solution in a dial-up connection to use this class is a general flow. Use rasCreateRasEntry create a phone book entry 2. If you want to use to connect this In use, you can not dial again, and so we turn off all connections with rasCloseAllCnn 3 with cnnConnectMobileNetwork function you want to use dial-up connections
程序员用这个类时,由于这个类里面的属性和方法都是静态的,所以不要实例化。
这个类里面的可见性的函数只有5个,分别是
rasCreateRasEntry
rasDeleteRasEntry
rasCloseAllCnn
rasCloseCnn
cnnConnectMobileNetwork
在拨号连接的solution里使用这个类的一般流程是
1.用rasCreateRasEntry建立一个phone book entry
2.如果你想使用的连接这在使用中,你是不能再次拨号的,因此我们用rasCloseAllCnn先关闭所有连接
3.用cnnConnectMobileNetwork函数拨号你要用的连接-This class is used to write c#, function is created inside the windows mobile phone and dial a VPN connection, support windows mobile, GSM, cdma, 3G programmer using this class, because this class inside the properties and methods are static, So do not be instantiated. This class is a function of the visibility inside only five, namely rasCreateRasEntry rasDeleteRasEntry rasCloseAllCnn rasCloseCnn cnnConnectMobileNetwork solution in a dial-up connection to use this class is a general flow. Use rasCreateRasEntry create a phone book entry 2. If you want to use to connect this In use, you can not dial again, and so we turn off all connections with rasCloseAllCnn 3 with cnnConnectMobileNetwork function you want to use dial-up connections
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ConnectionTool.cs