public IdentifyAsync ( MailKit.Net.Imap.ImapImplementation clientImplementation, |
||
clientImplementation | MailKit.Net.Imap.ImapImplementation | The client implementation. |
cancellationToken | The cancellation token. | |
Résultat | Task |
Passes along the client implementation details to the server while also obtaining implementation details from the server.
If the clientImplementation is null
or no properties have been set, no identifying information will be sent to the server.
Security Implications
This command has the danger of violating the privacy of users if misused. Clients should notify users that they send the ID command.
It is highly desirable that implementations provide a method of disabling ID support, perhaps by not calling this method at all, or by passing null
as the clientImplementation argument.
Implementors must exercise extreme care in adding properties to the clientImplementation. Some properties, such as a processor ID number, Ethernet address, or other unique (or mostly unique) identifier would allow tracking of users in ways that violate user privacy expectations and may also make it easier for attackers to exploit security holes in the client.
public IdentifyAsync ( MailKit.Net.Imap.ImapImplementation clientImplementation, |
||
clientImplementation | MailKit.Net.Imap.ImapImplementation | The client implementation. |
cancellationToken | The cancellation token. | |
Résultat | Task |