Skip to content

Patch.generateSignatureFile

Wesley Haws edited this page Nov 2, 2016 · 1 revision

#generateSignatureFile

public string generateSignatureFile(string oldFilePath, string saveLocation="")

##Parameters

Type Name Description
string oldFilePath outdated file location.
string saveLocation where to save generated .sig file

##Description Will generate a signature file for the file that you provide and save it at your desired location. If save location isn't specified then it will save it to the same location as the file.

##Example

using GameDevRepo;

void Start() {
    PatchSystem patch = new PatchSystem();
    patch.generateSignatureFile("C:\\outdatedScript.cs");
    patch.generateSignatureFile("C:\\outdatedScript.cs","C:\\NewFolder\\outdatedScript.cs.sig");
}
Clone this wiki locally