Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

valid URL check in c#

public static bool CheckURLValid(this string source) => Uri.TryCreate(source, UriKind.Absolute, out Uri uriResult) && uriResult.Scheme == Uri.UriSchemeHttps;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #valid #URL #check
ADD COMMENT
Topic
Name
6+5 =