'------------------------------------------------------------------------------ ' ' 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 ImageService Inherits System.Web.Services.Protocols.SoapHttpClientProtocol _ Public Sub New() MyBase.New Me.Url = "http://localhost/secureme/ImageService.asmx" End Sub _ Public Function GetTextImage(ByVal strText As String) As Byte() Dim results() As Object = Me.Invoke("GetTextImage", New Object() {strText}) Return CType(results(0),Byte()) End Function _ Public Function BeginGetTextImage(ByVal strText As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Return Me.BeginInvoke("GetTextImage", New Object() {strText}, callback, asyncState) End Function _ Public Function EndGetTextImage(ByVal asyncResult As System.IAsyncResult) As Byte() Dim results() As Object = Me.EndInvoke(asyncResult) Return CType(results(0),Byte()) End Function End Class