Sdílet prostřednictvím


PassportIdentity.TimeSinceSignIn Vlastnost

Definice

Získá čas v sekundách od přihlášení člena k přihlašovacímu serveru Passport. Tato třída je zastaralá.

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

Hodnota vlastnosti

Int32

Čas v sekundách od přihlášení člena k přihlašovacímu serveru Passport.

Příklady

// 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."

Poznámky

Tato třída je zastaralá a už se nepodporuje. Služba Microsoft Passport Network byla nahrazena službou Windows Live ID.

Platí pro