'------------------------------------------------------------------------------
'
' This code was generated by a tool.
' Runtime Version: 1.0.2914.16
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
'
'------------------------------------------------------------------------------
Option Strict Off
Option Explicit On
Imports System
Imports System.Diagnostics
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization
'
'This source code was auto-generated by wsdl, Version=1.0.2914.16.
'
_
Public Class SessionService
Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
_
Public Sub New()
MyBase.New
Me.Url = "http://localhost/secureme/SessionService.asmx"
End Sub
_
Public Function GetSessionCounter() As Integer
Dim results() As Object = Me.Invoke("GetSessionCounter", New Object(-1) {})
Return CType(results(0),Integer)
End Function
_
Public Function BeginGetSessionCounter(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("GetSessionCounter", New Object(-1) {}, callback, asyncState)
End Function
_
Public Function EndGetSessionCounter(ByVal asyncResult As System.IAsyncResult) As Integer
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),Integer)
End Function
_
Public Function GetSessionID() As String
Dim results() As Object = Me.Invoke("GetSessionID", New Object(-1) {})
Return CType(results(0),String)
End Function
_
Public Function BeginGetSessionID(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("GetSessionID", New Object(-1) {}, callback, asyncState)
End Function
_
Public Function EndGetSessionID(ByVal asyncResult As System.IAsyncResult) As String
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),String)
End Function
End Class