GetFileDetails Method
Collapse the table of content
Expand the table of content

RemoteWebConfigurationHostServer.GetFileDetails Method (String, Boolean, Int64, Int64, Int64)

 

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

Gets the details of the configuration file.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public void GetFileDetails(
	string name,
	out bool exists,
	out long size,
	out long createDate,
	out long lastWriteDate
)

Parameters

name
Type: System.String

The name of the file.

exists
Type: System.Boolean

true if the file exists; otherwise, false.

size
Type: System.Int64

The size of the file.

createDate
Type: System.Int64

The date the file was created.

lastWriteDate
Type: System.Int64

The date the file was last written.

Exception Condition
Exception

name does not point to a file with the .config extension.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft