Table of Contents

Class UnixMountPoint

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class UnixMountPoint
Inheritance
UnixMountPoint
Inherited Members

Methods

At(NonNullablePlatformStringHandle, out ulong)

Calls native function g_unix_mount_point_at. Version: 2.66

[Version("2.66")]
public static extern UnixMountPointOwnedHandle At(NonNullablePlatformStringHandle mountPath, out ulong timeRead)

Parameters

mountPath NonNullablePlatformStringHandle

Transfer ownership: None Nullable: False

timeRead ulong

Transfer ownership: Full Nullable: False

Returns

UnixMountPointOwnedHandle

Transfer ownership: Full Nullable: True

Compare(UnixMountPointHandle, UnixMountPointHandle)

Calls native method g_unix_mount_point_compare.

public static extern int Compare(UnixMountPointHandle mount1, UnixMountPointHandle mount2)

Parameters

mount1 UnixMountPointHandle

Transfer ownership: None Nullable: False

mount2 UnixMountPointHandle

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

Copy(UnixMountPointHandle)

Calls native method g_unix_mount_point_copy. Version: 2.54

[Version("2.54")]
public static extern UnixMountPointOwnedHandle Copy(UnixMountPointHandle mountPoint)

Parameters

mountPoint UnixMountPointHandle

Transfer ownership: None Nullable: False

Returns

UnixMountPointOwnedHandle

Transfer ownership: Full Nullable: False

Free(UnixMountPointHandle)

Calls native method g_unix_mount_point_free.

public static extern void Free(UnixMountPointHandle mountPoint)

Parameters

mountPoint UnixMountPointHandle

Transfer ownership: None Nullable: False

GetDevicePath(UnixMountPointHandle)

Calls native method g_unix_mount_point_get_device_path.

public static extern NonNullablePlatformStringUnownedHandle GetDevicePath(UnixMountPointHandle mountPoint)

Parameters

mountPoint UnixMountPointHandle

Transfer ownership: None Nullable: False

Returns

NonNullablePlatformStringUnownedHandle

Transfer ownership: None Nullable: False

GetFsType(UnixMountPointHandle)

Calls native method g_unix_mount_point_get_fs_type.

public static extern NonNullableUtf8StringUnownedHandle GetFsType(UnixMountPointHandle mountPoint)

Parameters

mountPoint UnixMountPointHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_unix_mount_point_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetMountPath(UnixMountPointHandle)

Calls native method g_unix_mount_point_get_mount_path.

public static extern NonNullablePlatformStringUnownedHandle GetMountPath(UnixMountPointHandle mountPoint)

Parameters

mountPoint UnixMountPointHandle

Transfer ownership: None Nullable: False

Returns

NonNullablePlatformStringUnownedHandle

Transfer ownership: None Nullable: False

GetOptions(UnixMountPointHandle)

Calls native method g_unix_mount_point_get_options. Version: 2.32

[Version("2.32")]
public static extern NullableUtf8StringUnownedHandle GetOptions(UnixMountPointHandle mountPoint)

Parameters

mountPoint UnixMountPointHandle

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GuessCanEject(UnixMountPointHandle)

Calls native method g_unix_mount_point_guess_can_eject.

public static extern bool GuessCanEject(UnixMountPointHandle mountPoint)

Parameters

mountPoint UnixMountPointHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GuessIcon(UnixMountPointHandle)

Calls native method g_unix_mount_point_guess_icon.

public static extern IntPtr GuessIcon(UnixMountPointHandle mountPoint)

Parameters

mountPoint UnixMountPointHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

GuessName(UnixMountPointHandle)

Calls native method g_unix_mount_point_guess_name.

public static extern NonNullableUtf8StringOwnedHandle GuessName(UnixMountPointHandle mountPoint)

Parameters

mountPoint UnixMountPointHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

GuessSymbolicIcon(UnixMountPointHandle)

Calls native method g_unix_mount_point_guess_symbolic_icon. Version: 2.34

[Version("2.34")]
public static extern IntPtr GuessSymbolicIcon(UnixMountPointHandle mountPoint)

Parameters

mountPoint UnixMountPointHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

IsLoopback(UnixMountPointHandle)

Calls native method g_unix_mount_point_is_loopback.

public static extern bool IsLoopback(UnixMountPointHandle mountPoint)

Parameters

mountPoint UnixMountPointHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsReadonly(UnixMountPointHandle)

Calls native method g_unix_mount_point_is_readonly.

public static extern bool IsReadonly(UnixMountPointHandle mountPoint)

Parameters

mountPoint UnixMountPointHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsUserMountable(UnixMountPointHandle)

Calls native method g_unix_mount_point_is_user_mountable.

public static extern bool IsUserMountable(UnixMountPointHandle mountPoint)

Parameters

mountPoint UnixMountPointHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False