EasyUA Reference
Utils Class Members
See Also  Fields  Properties  Methods  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace : Utils Class

Glossary Item Box

The following tables list the members exposed by Utils.

Public Fields

 NameDescription
Public FieldDefaultStorePath The path to the default certificate store.  
Public FieldDefaultStoreType The default certificate store's type.  
Public Fieldstatic (Shared in Visual Basic)DiscoveryUrls The urls of the discovery servers on a node.  
Public Fieldstatic (Shared in Visual Basic)onTrace  
Public FieldUaTcpBindingDefault The class that provides the default implementation for the UA TCP protocol.  
Public FieldUaTcpBindingNativeStack The class that wraps the ANSI C implementation of the UA TCP protocol.  
Public FieldUaTcpDefaultPort The default port for the UA TCP protocol.  
Public FieldUriSchemeHttp The URI scheme for the HTTP protocol.  
Public FieldUriSchemeHttps The URI scheme for the HTTPS protocol.  
Public FieldUriSchemeNetPipe The URI scheme for the .NET Named Pipes protocol.  
Public FieldUriSchemeNetTcp The URI scheme for the .NET TCP protocol.  
Public FieldUriSchemeNoSecurityHttp The URI scheme for using HTTP protocol without any security.  
Public FieldUriSchemeOpcTcp The URI scheme for the UA TCP protocol.  
Top

Public Properties

 NameDescription
Public Propertystatic (Shared in Visual Basic)TimeBase The earliest time that can be represented on with UA date/time values.  
Public Propertystatic (Shared in Visual Basic)TraceMask Gets the current trace mask settings.  
Public Propertystatic (Shared in Visual Basic)Tracing Returns Tracing class instance for event attaching.  
Top

Public Methods

 NameDescription
Public Methodstatic (Shared in Visual Basic)Append  
Public Methodstatic (Shared in Visual Basic)AreDomainsEqualOverloaded.  Parses the URLs, returns true of they have the same domain.  
Public Methodstatic (Shared in Visual Basic)Clone Returns a deep copy of the value.  
Public Methodstatic (Shared in Visual Basic)CompareDistinguishedNameOverloaded.  Compares two distinguished names.  
Public Methodstatic (Shared in Visual Basic)DoesUrlMatchCertificate Checks that the domain in the URL provided matches one of the domains in the certificate.  
Public Methodstatic (Shared in Visual Basic)FindInstalledFile Finds the file by search the common file folders and then bin directories in the source tree  
Public Methodstatic (Shared in Visual Basic)FindStringIgnoreCase Checks if the target is in the list. Comparisons ignore case.  
Public Methodstatic (Shared in Visual Basic)FlattenArray Converts a multidimension array to a flat array.  
Public Methodstatic (Shared in Visual Basic)Format Formats a message using the invariant locale.  
Public Methodstatic (Shared in Visual Basic)FromHexString Converts a hexadecimal string to an array of bytes.  
Public Methodstatic (Shared in Visual Basic)GetAbsoluteDirectoryPathOverloaded.  Checks if the file path is a relative path and returns an absolute path relative to the EXE location.  
Public Methodstatic (Shared in Visual Basic)GetAbsoluteFilePathOverloaded.  Checks if the file path is a relative path and returns an absolute path relative to the EXE location.  
Public Methodstatic (Shared in Visual Basic)GetApplicationUriFromCertficate Extracts the the application URI specified in the certificate.  
Public Methodstatic (Shared in Visual Basic)GetAssemblyBuildNumber Returns the build/revision number for an assembly formatted as a string.  
Public Methodstatic (Shared in Visual Basic)GetAssemblySoftwareVersion Returns the major/minor version number for an assembly formatted as a string.  
Public Methodstatic (Shared in Visual Basic)GetAssemblyTimestamp Returns the linker timestamp for an assembly.  
Public Methodstatic (Shared in Visual Basic)GetDataMemberName Returns the data member name for a property.  
Public Methodstatic (Shared in Visual Basic)GetDeadline Returns an absolute deadline for a timeout.  
Public Methodstatic (Shared in Visual Basic)GetDomainsFromCertficate Extracts the the DNS names specified in the certificate.  
Public Methodstatic (Shared in Visual Basic)GetFieldNames Returns the public static field names for a class.  
Public Methodstatic (Shared in Visual Basic)GetFilePathDisplayName Truncates a file path so it can be displayed in a limited width view.  
Public Methodstatic (Shared in Visual Basic)GetIdentifier Returns the numeric constant associated with a name.  
Public Methodstatic (Shared in Visual Basic)GetLanguageId Returns the language identifier from a locale.  
Public Methodstatic (Shared in Visual Basic)GetRecentFileList Returns the contents of the recent file list for the application.  
Public Methodstatic (Shared in Visual Basic)GetSystemMessage Retrieves the system message text for the specified error.  
Public Methodstatic (Shared in Visual Basic)GetTimeout Returns a timeout as integer number of milliseconds  
Public Methodstatic (Shared in Visual Basic)GetTimeZoneInfo Returns the TimeZone information for the current local time.  
Public Methodstatic (Shared in Visual Basic)GetUserSetting Returns the value of the user setting.  
Public Methodstatic (Shared in Visual Basic)IncrementIdentifierOverloaded.  Increments a identifier (wraps around if max exceeded).  
Public Methodstatic (Shared in Visual Basic)IsEqual Checks if two values are equal.  
Public Methodstatic (Shared in Visual Basic)IsValidLocaleId Checks if a string is a valid locale identifier.  
Public Methodstatic (Shared in Visual Basic)Match Tests if the specified string matches the specified pattern.  
Public Methodstatic (Shared in Visual Basic)ParseCertificateBlob Creates a X509 certificate object from the DER encoded bytes.  
Public Methodstatic (Shared in Visual Basic)ParseCertificateChainBlob Creates a X509 certificate collection object from the DER encoded bytes.  
Public Methodstatic (Shared in Visual Basic)ParseDistinguishedName Parses a distingushed name.  
Public Methodstatic (Shared in Visual Basic)ParseExtension<T> Looks for an extension with the specified type and uses the DataContractSerializer to parse it.  
Public Methodstatic (Shared in Visual Basic)ParseUri Parses a URI string. Returns null if it is invalid.  
Public Methodstatic (Shared in Visual Basic)PSHA1 Generates a Pseudo random sequence of bits using the P_SHA1 alhorithm.  
Public Methodstatic (Shared in Visual Basic)PSHA256 Generates a Pseudo random sequence of bits using the P_SHA256 alhorithm.  
Public Methodstatic (Shared in Visual Basic)ReplaceLocalhost Replaces the localhost domain with the current host name.  
Public Methodstatic (Shared in Visual Basic)ReplaceSpecialFolderNamesReplaces a prefix enclosed in '%' with a special folder or environment variable path (e.g. ProgramFiles\MyCompany).  
Public Methodstatic (Shared in Visual Basic)SelectLocalizedText Returns the localized text from a list of available text  
Public Methodstatic (Shared in Visual Basic)SetTraceLog Sets the path to the log file to use for tracing.  
Public Methodstatic (Shared in Visual Basic)SetTraceMask Sets the mask for tracing (thead safe).  
Public Methodstatic (Shared in Visual Basic)SetTraceOutput Sets the output for tracing (thead safe).  
Public Methodstatic (Shared in Visual Basic)SetUserSetting Sets the value of the user setting.  
Public Methodstatic (Shared in Visual Basic)SilentDispose Supresses any exceptions while disposing the object.  
Public Methodstatic (Shared in Visual Basic)ToHexString Converts a buffer to a hexadecimal string.  
Public Methodstatic (Shared in Visual Basic)ToInt32 Safely converts an UInt32 identifier to a Int32 identifier.  
Public Methodstatic (Shared in Visual Basic)ToStringOverloaded.  Formats an object using the invariant locale.  
Public Methodstatic (Shared in Visual Basic)ToUInt32 Safely converts an Int32 identifier to a UInt32 identifier.  
Public Methodstatic (Shared in Visual Basic)TraceOverloaded.  Writes an informational message to the trace log.  
Public Methodstatic (Shared in Visual Basic)UpdateExtension<T> Looks for an extension with the specified type and uses the DataContractSerializer to serializes its replacement.  
Public Methodstatic (Shared in Visual Basic)UpdateInstanceUri Substitutes the local machine name if "localhost" is specified in the instance uri.  
Public Methodstatic (Shared in Visual Basic)UpdateRecentFileList Updates the contents of the recent file list for the application.  
Top

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.