ComputerName

Public Function ComputerName() As String

Returns the name of the computer this process is running on.

If ComputerName = GetSettingFromDatabase(pContext, "AllowedComputerName") Then
   lResult = "You are welcome"
Else
   lResult = "This computer is not welcome"
End If

See also: