Gets a value indicating whether the specified Uri is a file URI.
true if the resource identified by the current Uri is a file; otherwise, false .
The Uri.IsFile property is true when the Uri.Scheme property equals Uri.UriSchemeFile.