Click or drag to resize
IS3ObjectInfoProviderGetObjectContent Method
Returns object content as a CMS.IO.Stream.

Namespace: CMS.AmazonStorage
Assembly: CMS.AmazonStorage (in CMS.AmazonStorage.dll) Version: 10.0.0
Syntax
C#
Stream GetObjectContent(
	IS3ObjectInfo obj,
	FileMode fileMode = FileMode.Open,
	FileAccess fileAccess = FileAccess.Read,
	FileShare fileShare = FileShare.Read,
	int bufferSize = 4096
)

Parameters

obj
Type: CMS.AmazonStorageIS3ObjectInfo
Object info.
fileMode (Optional)
Type: System.IOFileMode
File mode.
fileAccess (Optional)
Type: System.IOFileAccess
File access.
fileShare (Optional)
Type: System.IOFileShare
Sharing permissions.
bufferSize (Optional)
Type: SystemInt32
Buffer size.

Return Value

Type: Stream
See Also