AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes a streaming session.

Inheritance Hierarchy

System.Object
  Amazon.AppStream.Model.Session

Namespace: Amazon.AppStream.Model
Assembly: AWSSDK.AppStream.dll
Version: 3.x.y.z

Syntax

C#
public class Session

The Session type exposes the following members

Constructors

NameDescription
Public Method Session()

Properties

NameTypeDescription
Public Property AuthenticationType Amazon.AppStream.AuthenticationType

Gets and sets the property AuthenticationType.

The authentication method. The user is authenticated using a streaming URL (API) or SAML 2.0 federation (SAML).

Public Property ConnectionState Amazon.AppStream.SessionConnectionState

Gets and sets the property ConnectionState.

Specifies whether a user is connected to the streaming session.

Public Property FleetName System.String

Gets and sets the property FleetName.

The name of the fleet for the streaming session.

Public Property Id System.String

Gets and sets the property Id.

The identifier of the streaming session.

Public Property InstanceId System.String

Gets and sets the property InstanceId.

The identifier for the instance hosting the session.

Public Property MaxExpirationTime System.DateTime

Gets and sets the property MaxExpirationTime.

The time when the streaming session is set to expire. This time is based on the MaxUserDurationinSeconds value, which determines the maximum length of time that a streaming session can run. A streaming session might end earlier than the time specified in SessionMaxExpirationTime, when the DisconnectTimeOutInSeconds elapses or the user chooses to end his or her session. If the DisconnectTimeOutInSeconds elapses, or the user chooses to end his or her session, the streaming instance is terminated and the streaming session ends.

Public Property NetworkAccessConfiguration Amazon.AppStream.Model.NetworkAccessConfiguration

Gets and sets the property NetworkAccessConfiguration.

The network details for the streaming session.

Public Property StackName System.String

Gets and sets the property StackName.

The name of the stack for the streaming session.

Public Property StartTime System.DateTime

Gets and sets the property StartTime.

The time when a streaming instance is dedicated for the user.

Public Property State Amazon.AppStream.StreamSessionState

Gets and sets the property State.

The current state of the streaming session.

Public Property UserId System.String

Gets and sets the property UserId.

The identifier of the user for whom the session was created.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5