Https Psndlnet Packages May 2026
Note: PSNDL.net is a third-party archive. Use at your own risk and in compliance with your local laws. Always verify file hashes.
using Psndlnet.Core;
// Resolve the high‑level PSN client (it wraps HttpClient, Auth & Token handling)
var psnClient = provider.GetRequiredService<IPsnClient>();
// The client automatically injects the stored access token into the Authorization header
var profileResponse = await psnClient.GetAsync<UserProfile>("v1/users/me/profile");
// Handle success / error
if (profileResponse.IsSuccess)
var profile = profileResponse.Value;
Console.WriteLine($"Welcome, profile.OnlineId!");
else
Console.Error.WriteLine($"Error (profileResponse.StatusCode): profileResponse.ErrorMessage");
| Property | Description | Default |
|----------|-------------|---------|
| Timeout | Overall request timeout (incl. retries) | 00:00:30 |
| RetryPolicy | Polly‑based retry strategy (exponential back‑off) | 3 retries |
| AllowAutoRedirect | Follow 3xx redirects | true |
| MaxResponseBufferSize | Maximum size of response body before streaming | 5 MB | https psndlnet packages
var options = new PsnRequestOptions
Timeout = TimeSpan.FromSeconds(60),
RetryPolicy = new RetryPolicyBuilder()
.WithMaxAttempts(5)
.ExponentialBackoff(TimeSpan.FromSeconds(2))
.Build()
;
dotnet add package Psndlnet.Core --version 2.3.0
dotnet add package Psndlnet.Http --version 2.3.0
dotnet add package Psndlnet.Auth --version 2.3.0
dotnet add package Psndlnet.SecureStorage --version 2.3.0 # optional
dotnet add package Psndlnet.Logging --version 2.3.0 # optional
