MCMessageCredentials
Contains credentials that the recipient can use to determine that the message was sent by authorized sender.
[C++]
struct MCMessageCredentials {
char UserName[16],
char Password[16]
};
[Pascal]
TMCMessageCredentials = record
UserName : array[0..15] of byte;
Password : array[0..15] of byte
end;
[VB6]
Class MCXMessageCredentials
Property UserName As Variant
Property Password As Variant
End Class
[ActiveX]
interface IMCXMessageCredentials: IDispatch
{
HRESULT _stdcall UserName([out, retval] SAFEARRAY(byte) * Value );
HRESULT _stdcall UserName([in] SAFEARRAY(byte) Value );
HRESULT _stdcall Password([out, retval] SAFEARRAY(byte) * Value );
HRESULT _stdcall Password([in] SAFEARRAY(byte) Value );
};
[C#]
public struct MCMessageCredentials {
public byte[16] UserName,
public byte[16] Password
};
[VB.NET]
Public Struct MCMessageCredentials
Public UserName As Byte()
Public Password As Byte()
Ens Struct
[Java]
class MCMessage() {
String getUserName(),
void setUserName(String userName),
String getPassword(),
void setPassword(String password)
};
[Palm]
typedef struct {
byte UserName[16];
byte Password[16];
} MCMessageCredentials;
[DLL]
struct MCMessageCredentials {
char UserName[16],
long Password[16]
};
MCMessageCredentials structure contains credentials that let message recipient determine whether a message was sent by an authorized sender. It is application's job to keep the list of valid credentials and validate the given credentials. Messenger only fires an event that the application should process if it uses credentials.
|