<%
strUser="liufeng" '此处设置您的帐户
strPwd="111111" '此处设置您的帐户密码
strMobile="138********" '此处设置接收短信息的手机号码
strContent="你好,你的短信已经发送"
Function BytesToBstr(body,Cset)
dim objstream
set objstream = Server.CreateObject("adodb.stream")
objstream.Type = 1
objstream.Mode =3
objstream.Open
objstream.Write body
objstream.Position = 0
objstream.Type = 2
objstream.Charset = Cset
BytesToBstr = objstream.ReadText
objstream.Close
set objstream = nothing
End Function
set http = Server.CreateObject("Microsoft.XMLHTTP")
Http.Open "GET", "http://www.faxing8.net/sendsms.asp?User="&strUser&"&Pass="&strPwd&"&Mobile="&strMobile&"&Text="&strContent&"",false
Http.Send
getHTTPPage=bytesToBSTR(Http.responseBody,"GB2312")
set http=nothing
%>
<%=getHTTPPage%>
这是一段ASP代码,输入手机号,可以收到短信。现在老板要改成ASP。NET,请问应该怎么改,我看不懂ASP,万分感谢