Update README.md

This commit is contained in:
stellarbear
2018-12-12 14:07:39 +03:00
committed by GitHub
parent 00ba35dfe1
commit 6ecddbf0c9
+2 -2
View File
@@ -24,8 +24,8 @@ List<string> ruleFilenames = Directory.GetFiles(@"D:\Test\yara", "*.yar", Search
// From yr_initialize() to yr_finalize()
using (YSContext context = new YSContext())
{
// Compiling rules
using (YSCompiler compiler = instance.CompileFromFiles(ruleFilenames, externals))
// Compiling rules
using (YSCompiler compiler = instance.CompileFromFiles(ruleFilenames, externals))
{
// Get compiled rules
YSRules rules = compiler.GetRules();