Hi,
NCryptoki wraps the functions exported by the native underlying PKCS#11 module. This means when you call the Login method with 24 '0' NCryptoki as PIN it passes 24 '0' to the function C_Login of the underlying PKCS#11 module and returns the error code returned by that native function.
That gives us two chances:
1) the SO PIN isn't 24 '0'
2) the SO is 24 0 not 24 '0'. i.e. the char '0' is 0x30 (hex) while 0 is 0x00
Let me know...
Regards,
Ugo