Example #1
0
 /// <summary>
 /// Creates a file.
 /// </summary>
 /// <returns>A new file.</returns>
 /// <exception cref="IOException">An I/O error occurred while opening the file.</exception>
 /// <exception cref="SecurityException">The caller does not have the required permission.</exception>
 /// <exception cref="UnauthorizedAccessException">
 /// This operation is not supported on the current platform.
 ///     <para>-or-</para>
 /// The caller does not have the required permission.
 /// </exception>
 public FileStream Create()
 {
     return(LongPathFile.Create(this.NormalizedPath));
 }