Goedel.Mesh.SignedApplicationProfile.FromFile C# (CSharp) Method

FromFile() public static method

Search for the specified profile on the local machine.
public static FromFile ( string UDF, string FileName ) : SignedApplicationProfile
UDF string Fingerprint of the profile to find.
FileName string The name of the file
return SignedApplicationProfile
        public static SignedApplicationProfile FromFile(string UDF, string FileName) {

            using (var FileReader = FileName.OpenFileReadShared()) {
                using (var TextReader = FileReader.OpenTextReader()) {
                    var Reader = new JSONReader(TextReader);
                    var Result = SignedApplicationProfile.FromTagged(Reader);

                    return Result;
                    }
                }
            }