verify fp

General information about Neurotechnology and its software

verify fp

Postby i4nnet » Jun 07, 2017 03:01


Can i verify NSubject with byte array? or can i convert byte array to NSubject?
if i can to do that, can you give me a sample code in c#?
Posts: 5
Joined: May 24, 2017 12:15

Re: verify fp

Postby MartynasV » Jun 07, 2017 05:15

Hello i4nnet,

You can save NTemplate from NSubject as binary:
Code: Select all
File.WriteAllBytes("PATH", subject.GetTemplateBuffer().ToArray());

Then you can load that saved template to NSubject:
Code: Select all
var subject = NSubject.FromFile("PATH");
// Or
var subject = new NSubejct();
subject.SetTemplateBuffer(new NBuffer(File.ReadAllBytes("PATH")));
Martynas V
Posts: 409
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Return to Public

Who is online

Users browsing this forum: No registered users and 4 guests