OPCDA.NET Reference Manual
GetComputerName Method
See Also  Send Feedback
OpcNetBase.Net4 Assembly > OPC.Common Namespace > ComApi Class : GetComputerName Method

Glossary Item Box

Retrieves the name of the local computer using the Kernel32.dll - GetComputerName function.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetComputerName() As String
C# 
public static string GetComputerName()

Return Value

name of the local machine

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.