Convert Path to Uri in WPF and C#

I keep getting this question from time to time.

It is very easy to convert a path or folder to a Uri in WPF and C#. Here is the code snippet.

Uri cookieUri1 = new Uri(@"C:\Junk\SimpleMC");