You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to specify the read file access when opening a file stream? By default, I suspect it opening the file in ReadWrite causing an exception when the application is located inside of program files.
Hello jogibear9988,
Is it possible to specify the read file access when opening a file stream? By default, I suspect it opening the file in ReadWrite causing an exception when the application is located inside of program files.
From SVGImage/SVGImage/SVG/SVGImage.cs at line 63
Replacing
((SVGImage)d).SetImage(new FileStream(e.NewValue.ToString(), FileMode.Open));
To
((SVGImage)d).SetImage(new FileStream(e.NewValue.ToString(), FileMode.Open, FileAccess.Read));
Thank you!
Sebastien
The text was updated successfully, but these errors were encountered: