EasyUA Reference
AreDomainsEqual(Uri,Uri) Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > Utils Class > AreDomainsEqual Method : AreDomainsEqual(Uri,Uri) Method

url1
The first URL to compare.
url2
The second URL to compare.

Glossary Item Box

Parses the URLs, returns true of they have the same domain.

Syntax

Visual Basic (Usage)Copy Code
Dim url1 As Uri
Dim url2 As Uri
Dim value As Boolean
 
value = Utils.AreDomainsEqual(url1, url2)
C# 
public static bool AreDomainsEqual( 
   Uri url1,
   Uri url2
)

Parameters

url1
The first URL to compare.
url2
The second URL to compare.

Return Value

True if they have the same domain.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.