using System;
namespace Lithnet.CredentialProvider
{
///
/// Represents the data structure passed to consent UI in a yet unknown scenario
///
/// This data structure is currently unknown and only the common header values are present
public class ConsentUIDataCredCollect : ConsentUIData
{
internal ConsentUIDataCredCollect(IntPtr pData, int expectedSize) : base(pData, expectedSize)
{
if (this.header.Type != ConsentUIType.CredCollect)
{
throw new InvalidOperationException("The data structure is not of type CredCollect");
}
}
}
}