Skip to content

Instantly share code, notes, and snippets.

View Kasiviswanathan3876's full-sized avatar
💭
I may be slow to respond.

KasiVisu Kasiviswanathan3876

💭
I may be slow to respond.
View GitHub Profile
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Text;
using System.Web;
using Microsoft.WindowsAzure.ServiceRuntime;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
@Kasiviswanathan3876
Kasiviswanathan3876 / HttpResponseCodeChecker.cs
Created June 7, 2019 19:13 — forked from sanjayuttam/HttpResponseCodeChecker.cs
Parallel HTTP Requestrrrrrrrrrrr...very simple and hacked together quickly. don't use in production systems.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace SocketRequestor40
{
@Kasiviswanathan3876
Kasiviswanathan3876 / PaymentController.cs
Created June 7, 2019 19:14 — forked from samnaseri/PaymentController.cs
Payment Controller for MIGS gateway using Asp.Net MVC4
// WARNING : THIS CODE IS AS IS. NOTHING IS GUARANTEED.
// PLEASE NOTE THAT THIS IS ONLY A TEMPLATE, YOU NEED TO WORK ON IT TO MAKE IT SUITABLE FOR YOUR NEEDS
// AT LEAST YOU NEED TO REPLACE THE VALUE FOR HASH SECRET VARIABLES BY VALUES YOU RECEIVED FROM YOUR BANK
// For more information go to : http://samondotnet.blogspot.com/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System;
using System.ComponentModel;
using System.IO;
using System.Net;
using System.Text;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
namespace MyCompany.Workflow.Messaging.Activities
{
// CSVを取得するサンプルコード
var url = "https://script.google.com/macros/s/******************/exec";
// 結果のCSV格納変数
var csv = "";
using (var request = UnityWebRequest.Get(url))
{
Debug.Log($"SEND!!! : {url}");
yield return request.SendWebRequest();
// 通信エラーチェック
@Kasiviswanathan3876
Kasiviswanathan3876 / BillingConstants.cs
Created June 7, 2019 19:15 — forked from jonathanpeppers/BillingConstants.cs
BillingConstants for Google Play
public class BillingConstants
{
public const int ApiVersion = 3;
// Billing response codes
public const int ResultOk = 0;
public const int ResultUserCancelled = 1;
public const int ResultBillingUnavailable = 3;
public const int ResultItemUnavailable = 4;
public const int ResultDeveloperError = 5;
public class GooglePlayPurchaseService : PurchaseService
{
private BillingConnection _connection;
private sealed class Product
{
public string Title { get; set; }
public string Price { get; set; }
public string Type { get; set; }
public string Description { get; set; }
@Kasiviswanathan3876
Kasiviswanathan3876 / DownloadHelper.cs
Created June 7, 2019 19:15 — forked from StephenHodgson/DownloadHelper.cs
Unity Image Downloader example
using System;
using System.Collections;
using System.Text;
using UnityEngine;
using UnityEngine.Networking;
public class DownloadHelper : MonoBehaviour
{
private string userName = string.Empty;
private string password = string.Empty;
@Kasiviswanathan3876
Kasiviswanathan3876 / AppPaymentService.cs
Created June 7, 2019 19:18 — forked from TheAlphamerc/AppPaymentService.cs
Phonepay and Bhim app payment in xamarin form
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Util;
using Android.Views;