Class MemorySourceSettings
Memory source settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.Sources
Assembly: VisioForge.Core.dll
Syntax
public class MemorySourceSettings : IStreamSourceSettings, IMediaPlayerBaseSourceSettings, IDisposable
Constructors
MemorySourceSettings(Byte[])
Initializes a new instance of the MemorySourceSettings class. Data will be copied.
Declaration
public MemorySourceSettings(byte[] data)
Parameters
| Type | Name | Description |
|---|---|---|
| Byte[] | data | The data. |
MemorySourceSettings(IntPtr, UInt64)
Initializes a new instance of the MemorySourceSettings class.
Declaration
public MemorySourceSettings(IntPtr data, ulong dataSize)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | data | The data. |
| UInt64 | dataSize | Size of the data. |
Properties
Data
Gets or sets the data.
Declaration
public IntPtr Data { get; set; }
Property Value
| Type | Description |
|---|---|
| IntPtr | The data. |
DataSize
Gets or sets the size of the data.
Declaration
public ulong DataSize { get; set; }
Property Value
| Type | Description |
|---|---|
| UInt64 | The size of the data. |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | disposing |
|
Finalize()
Finalizes an instance of the MemorySourceSettings class.
Declaration
protected void Finalize()