Want to build the ChatGPT based Apps? Start here
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
jorge juan
2.2k
2
571
how to fix null error with regex.match.group.value
Feb 11 2020 4:13 PM
Friend Sub DetectBaseUrl()
Dim domain As String = Nothing
Dim match As String = Regex.Match(GmailClient.Username, ".+@(.+)").Groups(1).Value
If match = String.Empty AndAlso Not New String() {"gmail.com", "googlemail.com", "googlemail.co.uk"}.Contains(match) Then
domain = match
End If
BaseUrl = "http://mail.google.com" + (If((domain IsNot Nothing), ("/a/" + domain), Nothing))
End Sub
Reply
Answers (
1
)
Extent Reports with Spec Flow
Different way to fix IDOR Vulnerability issue in a ASP .NET