Skip to content

Commit b9b45b2

Browse files
committed
something
1 parent 9caa72e commit b9b45b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/DataProtection/Extensions/src/DataProtectionAdvancedExtensions.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,16 @@ public byte[] Unprotect(byte[] protectedData)
127127
return _innerProtector.Unprotect(protectedData, out Expiration);
128128
}
129129

130+
#if NET10_0_OR_GREATER
130131
public int GetProtectedSize(ReadOnlySpan<byte> plainText)
131132
{
132-
throw new NotImplementedException();
133+
return _innerProtector.GetProtectedSize(plainText);
133134
}
134135

135136
public bool TryProtect(ReadOnlySpan<byte> plainText, Span<byte> destination, out int bytesWritten)
136137
{
137138
throw new NotImplementedException();
138139
}
140+
#endif
139141
}
140142
}

0 commit comments

Comments
 (0)