Public Function GetCurrentValue() As String Implements IService1.GetCurrentValue Dim MWorksTagA As System.IO.MemoryMappedFiles.MemoryMappedViewAccessor Dim x As Integer Try MWorksTagA = MemoryMappedFile.OpenExisting("MWorks").CreateViewAccessor MWorksTagA.Read(Of Integer)(0, x) Return CStr(x) Catch ex As Exception Return ex.Message End Try End Function
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)