public static extern int I_NetServerPasswordSet2( string PrimaryName, string AccountName, NETLOGON_SECURE_CHANNEL_TYPE AccountType, string ComputerName, ref NETLOGON_AUTHENTICATOR Authenticator, out NETLOGON_AUTHENTICATOR ReturnAuthenticator, ref NL_TRUST_PASSWORD ClearNewPassword );
public static extern int I_NetServerAuthenticate2( string PrimaryName, string AccountName, NETLOGON_SECURE_CHANNEL_TYPE AccountType, string ComputerName, ref NETLOGON_CREDENTIAL ClientCredential, ref NETLOGON_CREDENTIAL ServerCredential, ref ulong NegotiateFlags );