TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Convert Path to Uri in WPF and C#
XAML Designer
May 28 2012
Resource
0
0
33.5
k
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
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");