public static CreateAndOpenUniqueTimedFile ( string pathPrefix, string fileSuffix, System.DateTime time, FileAccess access, FileShare share, int bufferSize, FileOptions options, int maxTryBeforeGuid = 512 ) : |
||
pathPrefix | string | The path prefix. Must not be null. Must be a valid path and may ends with a prefix for the file name itself. |
fileSuffix | string | Suffix for the file name. Must not be null. Typically an extension (like ".txt"). |
time | System.DateTime | The time that will be used to create the file name. It must be an UTC time. |
access | FileAccess |
/// A constant that determines how the file can be accessed by the FileStream object.
/// It can only be |
share | FileShare | /// A constant that determines how the file will be shared by processes. /// |
bufferSize | int | /// A positive Int32 value greater than 0 indicating the buffer size. For bufferSize values between one and eight, the actual buffer size is set to eight bytes. /// |
options | FileOptions | Specifies additional file options. |
maxTryBeforeGuid | int | /// Maximum value for short hexadecimal uniquifier before using a base 64 guid suffix. Must greater than 0. |
return |