Mono.Cecil.PE.ImageWriter.GetSimpleString C# (CSharp) Method

GetSimpleString() static private method

static private GetSimpleString ( string @string ) : byte[]
@string string
return byte[]
        static byte[] GetSimpleString(string @string)
        {
            return GetString (@string, @string.Length);
        }

Usage Example

Exemplo n.º 1
0
 private byte[] GetRuntimeMain()
 {
     if (this.module.Kind != ModuleKind.Dll && this.module.Kind != ModuleKind.NetModule)
     {
         return(ImageWriter.GetSimpleString("_CorExeMain"));
     }
     return(ImageWriter.GetSimpleString("_CorDllMain"));
 }
All Usage Examples Of Mono.Cecil.PE.ImageWriter::GetSimpleString