Class UnixCredentialsMessage
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public class UnixCredentialsMessage : SocketControlMessage, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
UnixCredentialsMessage
- Implements
- Inherited Members
Constructors
UnixCredentialsMessage(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public UnixCredentialsMessage(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
UnixCredentialsMessage(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected UnixCredentialsMessage(CreationData data)
Parameters
dataCreationData
UnixCredentialsMessage(UnixCredentialsMessageHandle)
protected UnixCredentialsMessage(UnixCredentialsMessageHandle handle)
Parameters
handleUnixCredentialsMessageHandle
Fields
CredentialsPropertyDefinition
public static readonly Property<Credentials?, UnixCredentialsMessage> CredentialsPropertyDefinition
Field Value
Properties
Credentials
public Credentials? Credentials { get; }
Property Value
Methods
GetCredentials()
[Version("2.26")]
public Credentials GetCredentials()
Returns
GetGType()
public static Type GetGType()
Returns
IsSupported()
[Version("2.26")]
public static bool IsSupported()
Returns
New()
[Version("2.26")]
public static UnixCredentialsMessage New()
Returns
NewFromPointer(nint, bool)
Creates a new managed UnixCredentialsMessage instance for a given pointer.
public static UnixCredentialsMessage NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithCredentials(Credentials)
[Version("2.26")]
public static UnixCredentialsMessage NewWithCredentials(Credentials credentials)
Parameters
credentialsCredentials
Returns
NewWithProperties(ConstructArgument[])
Creates a new UnixCredentialsMessage and sets the properties specified by the construct arguments.
public static UnixCredentialsMessage NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.