AWS SDK for .NET Documentation
SetServerSideEncryption Method (bucketName, key, version, method, s3Client)
AmazonAmazon.S3.UtilAmazonS3UtilSetServerSideEncryption(String, String, String, ServerSideEncryptionMethod, AmazonS3) Did this page help you?   Yes   No    Tell us about it...
Sets the server side encryption method for the S3 Object's Version to the value specified.
Declaration Syntax
C#
public static void SetServerSideEncryption(
	string bucketName,
	string key,
	string version,
	ServerSideEncryptionMethod method,
	AmazonS3 s3Client
)
Parameters
bucketName (String)
The name of the bucket in which the key is stored
key (String)
The key of the S3 Object
version (String)
The version of the S3 Object
method (ServerSideEncryptionMethod)
The server side encryption method
s3Client (AmazonS3)
The Amazon S3 Client to use for S3 specific operations.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)