SecureBlackbox 2020 .NET Edition

Questions / Feedback?

QueryQuota Event

Reflects a quota enquiry by a client.

Syntax

public event OnQueryQuotaHandler OnQueryQuota;

public delegate void OnQueryQuotaHandler(object sender, WebdavserverQueryQuotaEventArgs e);

public class WebdavserverQueryQuotaEventArgs : EventArgs {
  public long ConnectionID { get; }
  public string Username { get; }
  public long Available { get; set; }
  public long Used { get; set; }
}
Public Event OnQueryQuota As OnQueryQuotaHandler

Public Delegate Sub OnQueryQuotaHandler(sender As Object, e As WebdavserverQueryQuotaEventArgs)

Public Class WebdavserverQueryQuotaEventArgs Inherits EventArgs
  Public ReadOnly Property ConnectionID As Long
  Public ReadOnly Property Username As String
  Public Property Available As Long
  Public Property Used As Long
End Class

Remarks

This event fires in response to a client's enquire about their quota status. Subscribe to this event to react to such enquiries in a customized manner. Use Available and Used properties to report the respective amounts back to the client.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 .NET Edition - Version 20.0 [Build 8165]