AWS SDK for .NET Documentation
SerialNumber Property
AmazonAmazon.SecurityToken.ModelGetSessionTokenRequestSerialNumber Did this page help you?   Yes   No    Tell us about it...
Gets and sets the property SerialNumber.

The identification number of the MFA device that is associated with the IAM user who is making the

CopyC#
GetSessionToken
call. Specify this value if the IAM user has a policy that requires MFA authentication. The value is either the serial number for a hardware device (such as
CopyC#
GAHT12345678
) or an Amazon Resource Name (ARN) for a virtual device (such as
CopyC#
arn:aws:iam::123456789012:mfa/user
). You can find the device for an IAM user by going to the AWS Management Console and viewing the user's security credentials.

Declaration Syntax
C#
public string SerialNumber { get; set; }

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