BitfiWallet.XMRGen.GetKeyImage C# (CSharp) Method

GetKeyImage() public method

public GetKeyImage ( string ViewKey, string PubKey, string Secret, string Txn ) : key_images_response
ViewKey string
PubKey string
Secret string
Txn string
return key_images_response
        public key_images_response GetKeyImage(string ViewKey, string PubKey, string Secret, string Txn)
        {
            compute_key_images img = new compute_key_images();
            img.pub_spendKey_string = PubKey;
            img.sec_spendKey_string = Secret;
            img.sec_viewKey_string = ViewKey;
            img.tx_pub_key = Txn;
            byte[] abcArr = Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(img, ser));
            var rrr = XMRNative.GenerateKeyImage(abcArr, abcArr.Length);
            byte[] res123 = new byte[rrr];
            XMRNative.GenerateKeyImageGetData(res123, rrr);
            var result123 = Encoding.UTF8.GetString(res123);
            return JsonConvert.DeserializeObject\\(result123, ser);
        }
        private decimal NDFormat(string valueparam, int decimalsparam)