docs.unity3d.com
    Show / Hide Table of Contents

    Struct RelayHMACKey

    Used to represent the HMACKey for the Relay Service

    Namespace: Unity.Networking.Transport.Relay
    Syntax
    public struct RelayHMACKey

    Fields

    k_Length

    The length in bytes of the RelayHMACKey.

    Declaration
    public const int k_Length = null
    Field Value
    Type Description
    Int32

    Value

    The raw data of the HMAC key.

    Declaration
    public byte *Value
    Field Value
    Type Description
    Byte*

    Methods

    FromBytePointer(Byte*, Int32)

    Converts a byte pointer to a RelayHMACKey.

    Declaration
    public static RelayHMACKey FromBytePointer(byte *data, int length)
    Parameters
    Type Name Description
    Byte* data

    The pointer to the data of the Allocation Id.

    Int32 length

    The length of the data.

    Returns
    Type Description
    RelayHMACKey

    Returns a RelayHMACKey constructed from the provided data.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023