mirror of
https://github.com/tyranid/DotNetToJScript
synced 2026-06-08 17:59:42 +00:00
6c1cdc64f1
Swapped SurrogateSelector for 'Empty' in vba template. Pushed version to 1.0.5
202 lines
8.8 KiB
C#
202 lines
8.8 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.42000
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace DotNetToJScript.Properties {
|
|
using System;
|
|
|
|
|
|
/// <summary>
|
|
/// A strongly-typed resource class, for looking up localized strings, etc.
|
|
/// </summary>
|
|
// This class was auto-generated by the StronglyTypedResourceBuilder
|
|
// class via a tool like ResGen or Visual Studio.
|
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
|
// with the /str option, or rebuild your VS project.
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
internal class Resources {
|
|
|
|
private static global::System.Resources.ResourceManager resourceMan;
|
|
|
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
|
|
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
|
internal Resources() {
|
|
}
|
|
|
|
/// <summary>
|
|
/// Returns the cached ResourceManager instance used by this class.
|
|
/// </summary>
|
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
|
get {
|
|
if (object.ReferenceEquals(resourceMan, null)) {
|
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DotNetToJScript.Properties.Resources", typeof(Resources).Assembly);
|
|
resourceMan = temp;
|
|
}
|
|
return resourceMan;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Overrides the current thread's CurrentUICulture property for all
|
|
/// resource lookups using this strongly typed resource class.
|
|
/// </summary>
|
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
internal static global::System.Globalization.CultureInfo Culture {
|
|
get {
|
|
return resourceCulture;
|
|
}
|
|
set {
|
|
resourceCulture = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to var shell = new ActiveXObject('WScript.Shell');
|
|
///ver = 'v4.0.30319';
|
|
///try {
|
|
///shell.RegRead('HKLM\\SOFTWARE\\Microsoft\\.NETFramework\\v4.0.30319\\');
|
|
///} catch(e) {
|
|
///ver = 'v2.0.50727';
|
|
///}
|
|
///shell.Environment('Process')('COMPLUS_Version') = ver;
|
|
///.
|
|
/// </summary>
|
|
internal static string jscript_auto_version_script {
|
|
get {
|
|
return ResourceManager.GetString("jscript_auto_version_script", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to function base64ToStream(b) {
|
|
/// var enc = new ActiveXObject("System.Text.ASCIIEncoding");
|
|
/// var length = enc.GetByteCount_2(b);
|
|
/// var ba = enc.GetBytes_4(b);
|
|
/// var transform = new ActiveXObject("System.Security.Cryptography.FromBase64Transform");
|
|
/// ba = transform.TransformFinalBlock(ba, 0, length);
|
|
/// var ms = new ActiveXObject("System.IO.MemoryStream");
|
|
/// ms.Write(ba, 0, (length / 4) * 3);
|
|
/// ms.Position = 0;
|
|
/// return ms;
|
|
///}
|
|
///
|
|
///var serialized_obj = %SERIALIZED%;
|
|
///var entry_class = '%CLASS%';
|
|
///
|
|
///try {
|
|
/// setver [rest of string was truncated]";.
|
|
/// </summary>
|
|
internal static string jscript_template {
|
|
get {
|
|
return ResourceManager.GetString("jscript_template", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to <?xml version="1.0" encoding="UTF-16" standalone="yes"?><assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"><assemblyIdentity name="mscorlib" version="%MSCORLIBVERSION%" publicKeyToken="B77A5C561934E089" /><clrClass clsid="{D0CBA7AF-93F5-378A-BB11-2A5D9AA9C4D7}" progid="System.Runtime.Serialization.Formatters.Binary.BinaryFormatter" threadingModel="Both" name="System.Runtime.Serialization.Formatters.Binary.BinaryFormatter" runtimeVersion="%RUNTIMEVERSION%" /><clrClass clsid="{8D907746-4 [rest of string was truncated]";.
|
|
/// </summary>
|
|
internal static string manifest_template {
|
|
get {
|
|
return ResourceManager.GetString("manifest_template", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to <?xml version='1.0'?>
|
|
///<package>
|
|
///<component id='dummy'>
|
|
///<registration
|
|
/// description='dummy'
|
|
/// progid='dummy'
|
|
/// version='1.00'
|
|
/// remotable='True'>
|
|
///</registration>
|
|
///</component>
|
|
///</package>.
|
|
/// </summary>
|
|
internal static string scriptlet_template {
|
|
get {
|
|
return ResourceManager.GetString("scriptlet_template", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Dim ver
|
|
///ver = "v4.0.30319"
|
|
///On Error Resume Next
|
|
///shell.RegRead "HKLM\SOFTWARE\\Microsoft\.NETFramework\v4.0.30319\"
|
|
///If Err.Number <> 0 Then
|
|
/// ver = "v2.0.50727"
|
|
/// Err.Clear
|
|
///End If
|
|
///shell.Environment("Process").Item("COMPLUS_Version") = ver
|
|
///.
|
|
/// </summary>
|
|
internal static string vb_multi_auto_version_script {
|
|
get {
|
|
return ResourceManager.GetString("vb_multi_auto_version_script", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Private Function decodeHex(hex)
|
|
/// On Error Resume Next
|
|
/// Dim DM, EL
|
|
/// Set DM = CreateObject("Microsoft.XMLDOM")
|
|
/// Set EL = DM.createElement("tmp")
|
|
/// EL.DataType = "bin.hex"
|
|
/// EL.Text = hex
|
|
/// decodeHex = EL.NodeTypedValue
|
|
///End Function
|
|
///
|
|
///Function Run()
|
|
/// Dim serialized_obj
|
|
/// %SERIALIZED%
|
|
///
|
|
/// entry_class = "%CLASS%"
|
|
///
|
|
/// Dim stm As Object, fmt As Object, al As Object
|
|
/// Set stm = CreateObject("System.IO.MemoryStream")
|
|
/// Set fmt = CreateObject("System.Runtime.Serialization [rest of string was truncated]";.
|
|
/// </summary>
|
|
internal static string vba_template {
|
|
get {
|
|
return ResourceManager.GetString("vba_template", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Function Base64ToStream(b)
|
|
/// Dim enc, length, ba, transform, ms
|
|
/// Set enc = CreateObject("System.Text.ASCIIEncoding")
|
|
/// length = enc.GetByteCount_2(b)
|
|
/// Set transform = CreateObject("System.Security.Cryptography.FromBase64Transform")
|
|
/// Set ms = CreateObject("System.IO.MemoryStream")
|
|
/// ms.Write transform.TransformFinalBlock(enc.GetBytes_4(b), 0, length), 0, ((length / 4) * 3)
|
|
/// ms.Position = 0
|
|
/// Set Base64ToStream = ms
|
|
///End Function
|
|
///
|
|
///Sub Run
|
|
///Dim s, entry_class
|
|
///s = %SERIALIZED%
|
|
///entry_class = "%CL [rest of string was truncated]";.
|
|
/// </summary>
|
|
internal static string vbs_template {
|
|
get {
|
|
return ResourceManager.GetString("vbs_template", resourceCulture);
|
|
}
|
|
}
|
|
}
|
|
}
|