C# Class System.ComponentModel.Design.RuntimeLicenseContext

Inheritance: System.ComponentModel.LicenseContext
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
GetSavedLicenseKey ( Type type, Assembly resourceAssembly ) : string

Private Methods

Method Description
CaseInsensitiveManifestResourceStreamLookup ( Assembly satellite, string name ) : Stream
GetLocalPath ( string fileName ) : string

This method takes a file URL and converts it to a local path. The trick here is that if there is a '#' in the path, everything after this is treated as a fragment. So we need to append the fragment to the end of the path.

OpenRead ( Uri resourceUri ) : Stream

Method Details

GetSavedLicenseKey() public method

public GetSavedLicenseKey ( Type type, Assembly resourceAssembly ) : string
type System.Type
resourceAssembly System.Reflection.Assembly
return string