NdefMessage Class
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.
Create a NDEF = NFC Data Exchange Format Message class
public class NdefMessage
type NdefMessage = class
Public Class NdefMessage
- Inheritance
-
NdefMessage
Constructors
NdefMessage() |
Create an empty NDEF Message |
NdefMessage(ReadOnlySpan<Byte>) |
Create NDEF Message from a span of bytes |
Fields
GeneralPurposeByteNdefVersion |
Associated with the GeneralPurposeByteConsitions, it tells if a sector is read/write and a valid NDEF sector |
Properties
Length |
Get the length of the message |
Records |
List of all NDEF Records |
Methods
ExtractMessage(Span<Byte>) |
Extract an NDEF message from a raw byte array |
GetStartSizeNdef(Span<Byte>) |
From a raw message, find the start and stop of an NDEF message |
Serialize(Span<Byte>) |
Serialize the message in a span of bytes |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for