PassportIdentity.TimeSinceSignIn Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.