/// <summary> /// Checks whether or not the signatue of this module is valid. /// </summary> /// <returns>Returns a whether or not the signature of this module is valid.</returns> public bool VerifySignature() { #if DEBUG return(true); #else if (this.Signature == null || this.PublicKey == null) { return(true); } else { return(Signing.VerifySignature(this.CompiledCode, this.Signature, this.PublicKey)); } #endif }