AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Common interface for both S3FileInfo and S3DirectoryInfo.

Inheritance Hierarchy

Amazon.S3.IO.IS3FileSystemInfo

Namespace: Amazon.S3.IO
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public interface IS3FileSystemInfo

The IS3FileSystemInfo type exposes the following members

Properties

NameTypeDescription
Public Property Exists System.Boolean

Returns true if the item exists in S3.

Public Property Extension System.String

Returns the extension of the item.

Public Property FullName System.String

Returns the fully qualified path to the item.

Public Property LastWriteTime System.DateTime

Returns the last modified time for this item from S3 in local timezone.

Public Property LastWriteTimeUtc System.DateTime

Returns the last modified time for this item from S3 in UTC timezone.

Public Property Name System.String

Returns the name of the item without parent information.

Public Property Type Amazon.S3.IO.FileSystemType

Indicates what type of item this object represents.

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method Delete()

Deletes this item from S3.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5