SyntaxFix
Write A Post
Hire A Developer
Questions
It's a long way around, but System.Uri class has a method named MakeRelativeUri. Maybe you could use that. It's a shame really that System.IO.Path doesn't have this.