MCEncryptionPreference Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An enumeration whose values specify whether an MCSession should encrypt its connection. Used with C:MultipeerConnectivity.MCSession(MultipeerConnectivity.MCPeerID,Security.SecIdentity, MultipeerConnectivity.MCEncryptionPreference).
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum MCEncryptionPreference
type MCEncryptionPreference =
- Inheritance
-
MCEncryptionPreference
- Attributes
Fields
Name | Value | Description |
---|---|---|
Optional | 0 | No preference. |
Required | 1 | Connections should be encrypted. |
None | 2 | A preference for unencrypted connections. |