Table of Contents

Class FileStream.PropertyNames

Namespace
Sdl3Sharp.IO
Assembly
Sdl3Sharp.dll

Provides property names for FileStream properties

public sealed class FileStream.PropertyNames : Stream.PropertyNames
Inheritance
FileStream.PropertyNames
Inherited Members

Fields

AndroidAAssetPointer

The name of a property that holds the pointer to the Android NDK AAsset that the FileStream is using to access the filesystem

public const string AndroidAAssetPointer = "SDL_PROP_IOSTREAM_ANDROID_AASSET_POINTER"

Field Value

string

Remarks

The value of the property can be cast to an Android NDK AAsset*.

If SDL uses some other method to access the filesystem, the property will not be set.

See Also

FileDescriptorNumber

The name of a property that holds the file descriptor number that the FileStream is using to access the filesystem

public const string FileDescriptorNumber = "SDL_PROP_IOSTREAM_FILE_DESCRIPTOR_NUMBER"

Field Value

string

Remarks

The value of the property is a C file descriptor number.

StdioFilePointer

The name of a property that holds the pointer to the C standard library FILE that the FileStream is using to access the filesystem

public const string StdioFilePointer = "SDL_PROP_IOSTREAM_STDIO_FILE_POINTER"

Field Value

string

Remarks

The value of the property can be cast to a C standard library FILE*.

If SDL uses some other method to access the filesystem, the property will not be set.

NOTE: The value of the property is highly dependent on the C standard library and the compiler the underlying native SDL library was built with. Using that value without knowing these settings or using it on differing platforms may lead to at least undefined behavior or even result in a crash! Do not rely on the value of that property unless you really know what you are doing.

WindowsHandlePointer

The name of a property that holds the Windows HANDLE that the FileStream is using to access the filesystem

public const string WindowsHandlePointer = "SDL_PROP_IOSTREAM_WINDOWS_HANDLE_POINTER"

Field Value

string

Remarks

The value of the property can be cast to a Windows HANDLE.

If SDL uses some other method to access the filesystem, the property will not be set.

See Also