Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim objLoginRequest As HttpWebRequest = WebRequest.Create(strURL)
objLoginRequest.CookieContainer = New CookieContainer
objLoginRequest.Method = "POST"
objLoginRequest.KeepAlive = True
strPost = "MfcISAPICommand=SignInWelcome&userid=test&password=test"
objLoginRequest.ContentLength = strPost.Length
objLoginRequest.ContentType = "application/x-[URL unfurl="true"]www-form-urlencoded"[/URL]
Try
myWriter = New StreamWriter(objLoginRequest.GetRequestStream())
myWriter.Write(strPost)
Catch e As Exception
Return e.Message
Finally
myWriter.Close()
End Try
Dim objloginResponse As HttpWebResponse = objLoginRequest.GetResponse()
sr = New StreamReader(objloginResponse.GetResponseStream())
strHTML = sr.ReadToEnd()
sr.Close()