Yes, it is possible use:
Uri.GetLeftPart( UriPartial.Authority )
More Related Contents:
- Assign BitmapImage from Resources.resx to Image.Source?
- How to check whether a string is a valid HTTP URL?
- Get host domain from URL?
- Get file name from URI string in C#
- Get individual query parameters from Uri [duplicate]
- Invalid URI: The format of the URI could not be determined
- How to check that a uri string is valid
- Convert file path to a file URI?
- Method to determine if path string is local or remote machine
- How can I get the baseurl of site?
- Registering an Application to a URI Scheme in windows 10
- How to execute an .SQL script file using c#
- JSON.Net throws StackOverflowException when using [JsonConvert()]
- Call SignalR Core Hub method from Controller
- How to pass the smart screen on Win8 when install a signed application?
- Difference Between Invoke and DynamicInvoke
- Getting the current tab’s URL from Google Chrome using C#
- What is the difference between bool and Boolean types in C#
- Json.net serialize specific private field
- Set default global json serializer settings
- Entity Framework And Business Objects
- Creating Custom Picturebox with Draggable and Resizable Selection Window
- C# Linq intersect/except with one part of object
- C# – How to copy a single Excel worksheet from one workbook to another?
- C# : Monitor – Wait,Pulse,PulseAll
- C# lambda, local variable value not taken when you think?
- Create custom shape for button
- Convert Date from Persian to Gregorian
- DataGridView bound to BindingList does not refresh when value changed
- Xamarin Android Finalizer not getting called when leaving the activity to go to another Activity