C# Class VisualCaptchaNet.Mvc5.Controllers.HomeController

Inheritance: Controller
Mostrar archivo Open project: terabytenz/VisualCaptcha.Net

Public Methods

Method Description
Audio ( string type = "mp3" ) : System.Web.Mvc.FileStreamResult
HomeController ( ) : System
HomeController ( ISessionProvider sessionProvider ) : System
HomeController ( ISessionProvider sessionProvider, string path ) : System
Image ( int index, bool isRetina = false ) : System.Web.Mvc.FileStreamResult
Index ( ) : System.Web.Mvc.ActionResult
Start ( int numberOfImages = VisualCaptchaNet.Core.VisualCaptcha.DefaultNumberOfImages ) : System.Web.Mvc.JsonResult

Private Methods

Method Description
Try ( ) : void

Method Details

Audio() public method

public Audio ( string type = "mp3" ) : System.Web.Mvc.FileStreamResult
type string
return System.Web.Mvc.FileStreamResult

HomeController() public method

public HomeController ( ) : System
return System

HomeController() public method

public HomeController ( ISessionProvider sessionProvider ) : System
sessionProvider ISessionProvider
return System

HomeController() public method

public HomeController ( ISessionProvider sessionProvider, string path ) : System
sessionProvider ISessionProvider
path string
return System

Image() public method

public Image ( int index, bool isRetina = false ) : System.Web.Mvc.FileStreamResult
index int
isRetina bool
return System.Web.Mvc.FileStreamResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Start() public method

public Start ( int numberOfImages = VisualCaptchaNet.Core.VisualCaptcha.DefaultNumberOfImages ) : System.Web.Mvc.JsonResult
numberOfImages int
return System.Web.Mvc.JsonResult