I'm searching for a datatype to store UNC paths in. I already tried using Uri but I always get an UriFormatException
telling me
Invalid URI: The hostname could not be parsed.
The UNC path I'm using is \\.\Dap0
which represents a Data Acquisition Processor
I'm working with.
Does anyone know such a datatype? Maybe one which makes it possible to work with the path? Or did I miss something when using Uri
?
Does the path need to be accessible when creating an Uri
object? Because currently it isn't, I'm only using this path for testing purposes.