文本混淆-第1部分,共2部分
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了文本混淆-第1部分,共2部分相关的知识,希望对你有一定的参考价值。
using System; namespace Kyrathasoft.Obfuscate { [Serializable] public class serText { //constructor public serText(string inputText, bool theWorks) { theText = inputText; if (!theWorks) { startIndex = 0; theLength = inputText.Length; reverse = false; shift = false; } else { reverse = true; shift = true; } } //constructor public serText(string inputText, int start, int length, bool reverse, bool shift) { theText = inputText; startIndex = start; theLength = length; this.shift = shift; this.reverse = reverse; } //constructor public serText(string inputText, int start, int length, bool theWorks) { theText = inputText; startIndex = start; theLength = length; if (theWorks) { this.shift = true; this.reverse = true; } } private string theText; public string TheText { get { return theText; } set { theText = value; } } private int startIndex; public int StartIndex { get { return startIndex; } set { startIndex = value; } } private int theLength; public int TheLength { get { return theLength; } set { theLength = value; } } private bool reverse; public bool Reverse { get { return reverse; } set { reverse = value; } } private bool shift; public bool Shift { get { return shift; } set { shift = value; } } } }
以上是关于文本混淆-第1部分,共2部分的主要内容,如果未能解决你的问题,请参考以下文章