AWS SDK for .NET Documentation
Code Property
AmazonAmazon.EC2.ModelInstanceStateCode Did this page help you?   Yes   No    Tell us about it...
A code representing the state of the instance.
Declaration Syntax
C#
public decimal Code { get; set; }
Remarks
A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented. Valid values are: 0 (pending) | 16 (running) | 32 (shutting-down) | 48 (terminated) | 64 (stopping) | 80 (stopped)

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