共用方式為


PSSenderInfo Class

Definition

This class is used in the server side remoting scenarios. This class holds information about the incoming connection like: (a) Connecting User information (b) Connection String used by the user to connect to the server.

public ref class PSSenderInfo sealed : System::Runtime::Serialization::ISerializable
[System.Serializable]
public sealed class PSSenderInfo : System.Runtime.Serialization.ISerializable
public sealed class PSSenderInfo : System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type PSSenderInfo = class
    interface ISerializable
type PSSenderInfo = class
    interface ISerializable
Public NotInheritable Class PSSenderInfo
Implements ISerializable
Inheritance
PSSenderInfo
Attributes
Implements

Constructors

PSSenderInfo(PSPrincipal, String)

Constructs PSPrincipal using PSIdentity and a token (used to construct WindowsIdentity)

Properties

ApplicationArguments

Application arguments (i.e. specified in New-PSSessionOptions -ApplicationArguments)

ClientTimeZone

Contains the TimeZone information from the client machine.

ConfigurationName

"ConfigurationName" from the sever remote session.

ConnectionString

Connection string used by the client to connect to the server. This is directly taken from WSMAN_SENDER_DETAILS struct (from wsman.h)

UserInfo

Contains information related to the user connecting to the server.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serialization.

Applies to