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

The value provided by the MFA device, if MFA is required. If any policy requires the IAM user to submit an MFA code, specify this value. If MFA authentication is required, and the user does not provide a code when requesting a set of temporary security credentials, the user will receive an "access denied" response when requesting resources that require MFA authentication.

Declaration Syntax
public string TokenCode { get; set; }

Assembly: AWSSDK (Module: AWSSDK) Version: (