Uredi

Deli z drugimi prek


PassportIdentity.TimeSinceSignIn Property

Definition

Gets the time, in seconds, since a member's logon to the Passport logon server. This class is deprecated.

public:
 property int TimeSinceSignIn { int get(); };
public int TimeSinceSignIn { get; }
member this.TimeSinceSignIn : int
Public ReadOnly Property TimeSinceSignIn As Integer

Property Value

The time, in seconds, since a member's logon to the Passport logon server.

Examples

// Declare new PassportIdendity object as variable newPass.
System.Web.Security.PassportIdentity newPass = new System.Web.Security.PassportIdentity();
// Build a string with the elapsed time since the user last signed in with the Passport Authority.
string sElapsedTimeSignIn = "Elapsed time since SignIn: " + newPass.TimeSinceSignIn.ToString() + " seconds.";
' Declare new PassportIdendity object as variable newPass.
Dim newPass As System.Web.Security.PassportIdentity = New System.Web.Security.PassportIdentity()
' Build a string with the elapsed time since the user last signed in with the Passport Authority.
Dim sElapsedTimeSignIn As String = "Elapsed time since SignIn: " + newPass.TimeSinceSignIn.ToString() + " seconds."

Remarks

This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.

Applies to