⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testsecurity.aspx

📁 This is a book about vb.you could learn this from this book
💻 ASPX
字号:
<%@ Import Namespace="System.Net" %>

<Script Language="VB" runat="server">

	Public Sub Page_Load(sender As Object, e As EventArgs )

		' Create an instance of the SecureSample proxy
		Dim secureSample As New SecureSample()

		' Create a new NetworkCredential class
		Dim credentials As New NetworkCredential()

		' Set username and password values
		credentials.UserName = "demo"
		credentials.Password = "00Password"
		credentials.Domain = "rhoward-laptop"

		' Set the credentials
		secureSample.Credentials = credentials

		' Call its WhoAreYou() function
		lblSecureSample.Text = secureSample.WhoAreYou()  

	End Sub

</Script>
<asp:label id="lblSecureSample" runat="server"/>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -