mirror of
https://github.com/appwrite/appwrite
synced 2026-05-18 14:38:35 +00:00
417 B
417 B
using Appwrite; using Appwrite.Services; using Appwrite.Models;
var client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
var account = new Account(client);
Session result = await account.UpdateSession( sessionId: "[SESSION_ID]");