IAspNetManagementUtility.ReadFileDates(String, String, String, String) Method

Definition

Returns the creation, modified, and last access dates and times for the specified filename.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 void ReadFileDates(System::String ^ filename, [Runtime::InteropServices::Out] System::String ^ % creationDate, [Runtime::InteropServices::Out] System::String ^ % modifiedDate, [Runtime::InteropServices::Out] System::String ^ % lastAccessDate);
public void ReadFileDates (string filename, out string creationDate, out string modifiedDate, out string lastAccessDate);
abstract member ReadFileDates : string * string * string * string -> unit
Public Sub ReadFileDates (filename As String, ByRef creationDate As String, ByRef modifiedDate As String, ByRef lastAccessDate As String)

Parameters

filename
String

The name of the file from which to read the dates.

creationDate
String

The date and time the file was created.

modifiedDate
String

The date and time the file was modified.

lastAccessDate
String

The date and time the file was last accessed.

Remarks

For more information about programming with the IAspNetManagementUtility interface and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.

Applies to