Class Util
Shared utilities for Supabase client libraries.
Inheritance
System.Object
Util
Namespace: Supabase.Core
Assembly: Supabase.Core.dll
Syntax
public static class Util : object
Methods
| Improve this Doc View SourceGetAssemblyVersion(Type)
Builds the X-Client-Info header value for the given client type.
Declaration
public static string GetAssemblyVersion(Type clientType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | clientType | A type belonging to the client assembly, used to resolve the assembly name and version. |
Returns
| Type | Description |
|---|---|
| System.String | A structured header value identifying the client library and its host environment. |
Remarks
Format: name-csharp/version[; key=value ...]
Appended metadata includes platform, platform version, runtime, runtime version,
and framework (when detectable).