Class ConsoleFEDataBlock
The ConsoleFEDataBlock structure specifies the code page to use for displaying text when a link target specifies an application that is run in a console window.
Inherited Members
Namespace: SharpShellLink.Structures
Assembly: SharpShellLink.dll
Syntax
public class ConsoleFEDataBlock : ExtraDataBlock
Constructors
| Edit this page View SourceConsoleFEDataBlock()
Constructor
Declaration
public ConsoleFEDataBlock()
ConsoleFEDataBlock(uint)
Constructor
Declaration
public ConsoleFEDataBlock(uint CodePage)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | CodePage | Unsigned integer that specifies a code page language code identifier |
Properties
| Edit this page View SourceBlockSignature
BlockSignature (4 bytes): A 32-bit, unsigned integer that specifies the signature of the ConsoleFEDataBlock extra data section. This value MUST be 0xA0000004.
Declaration
public override BlockSignature BlockSignature { get; }
Property Value
| Type | Description |
|---|---|
| BlockSignature |
Overrides
| Edit this page View SourceBlockSize
BlockSize (4 bytes): A 32-bit, unsigned integer that specifies the size of the ConsoleFEDataBlock structure. This value MUST be 0x0000000C.
Declaration
public override uint BlockSize { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Overrides
| Edit this page View SourceCodePage
CodePage (4 bytes): A 32-bit, unsigned integer that specifies a code page language code identifier. For details concerning the structure and meaning of language code identifiers
Declaration
public uint CodePage { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
MinimumBlockSize
MinimumBlockSize (4 bytes): A 32-bit, unsigned integer that specifies the minimum size of the ConsoleFEDataBlock structure. This value MUST be 0x0000000C
Declaration
public override uint MinimumBlockSize { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Overrides
Methods
| Edit this page View SourceFromByteArray(byte[])
Create a ConsoleFEDataBlock from a given byte array
Declaration
public static ConsoleFEDataBlock FromByteArray(byte[] ba)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | ba | The byte array |
Returns
| Type | Description |
|---|---|
| ConsoleFEDataBlock | A ConsoleFEDataBlock object |
GetBytes()
Convert the Structure to a byte array
Declaration
public override byte[] GetBytes()
Returns
| Type | Description |
|---|---|
| byte[] | Byte array representation of the Structure |
Overrides
| Edit this page View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |