public WAFValue Snapshot() { try { AFValue val = m_Pipt.Snapshot(); WAFValue wVal = new WAFValue(); wVal.setAFValue(val); return (wVal); } catch (Exception) { return (null); } }
public static WAFValue AFValueToWAFValue(AFValue val) { WAFValue cVal = new WAFValue(); try { cVal.setAFValue(val); } catch (Exception ex) { System.Console.WriteLine(ex.Message); cVal = null; } return (cVal); }